lang/agda: add +local flag & :nonrecursive to recipes
Relevant to #2203
This commit is contained in:
parent
17d0833af1
commit
f95ab47239
2 changed files with 16 additions and 11 deletions
|
@ -1,5 +1,11 @@
|
||||||
;;; lang/agda/config.el -*- lexical-binding: t; -*-
|
;;; lang/agda/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(when (and (featurep! +local)
|
||||||
|
(executable-find "agda-mode"))
|
||||||
|
(add-load-path!
|
||||||
|
(file-name-directory (shell-command-to-string "agda-mode locate"))))
|
||||||
|
|
||||||
|
|
||||||
(map! :after agda2-mode
|
(map! :after agda2-mode
|
||||||
:map agda2-mode-map
|
:map agda2-mode-map
|
||||||
:localleader
|
:localleader
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; lang/agda/packages.el
|
;;; lang/agda/packages.el
|
||||||
|
|
||||||
|
(unless (featurep! +local)
|
||||||
(package! agda-input
|
(package! agda-input
|
||||||
:recipe
|
:recipe (:host github :repo "agda/agda"
|
||||||
(:host github :repo "agda/agda"
|
:files ("src/data/emacs-mode/agda-input.el")
|
||||||
:files ("src/data/emacs-mode/agda-input.el")))
|
:nonrecursive t))
|
||||||
|
|
||||||
(package! agda2-mode
|
(package! agda2-mode
|
||||||
:recipe
|
:recipe (:host github :repo "agda/agda"
|
||||||
(:host github :repo "agda/agda"
|
:files ("src/data/emacs-mode/*.el"
|
||||||
:files
|
(:exclude "agda-input.el"))
|
||||||
("src/data/emacs-mode/*.el"
|
:nonrecursive t)))
|
||||||
(:exclude "agda-input.el"))))
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue