mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.
gnu/packages/emacs.scm (emacs)[native-search-paths]: Add a search-path for tree-sitter grammars. gnu/packages/aux-files/emacs/guix-emacs.el: Add directories from TREE_SITTER_GRAMMAR_PATH to treesit-extra-load-path.
This commit is contained in:
parent
3ab8559436
commit
c77a3d4554
2 changed files with 16 additions and 1 deletions
|
@ -367,7 +367,15 @@
|
|||
(files '("lib/emacs/native-site-lisp")))
|
||||
(search-path-specification
|
||||
(variable "INFOPATH")
|
||||
(files '("share/info")))))
|
||||
(files '("share/info")))
|
||||
;; tree-sitter support is not yet available in emacs 28, but this
|
||||
;; search path won't harm and also will be beneficial for
|
||||
;; emacs-next and other emacs-* packages, which have tree-sitter
|
||||
;; support enabled. Please, remove this comment, when emacs
|
||||
;; package is updated to 29.
|
||||
(search-path-specification
|
||||
(variable "TREE_SITTER_GRAMMAR_PATH")
|
||||
(files '("lib/tree-sitter")))))
|
||||
|
||||
(home-page "https://www.gnu.org/software/emacs/")
|
||||
(synopsis "The extensible, customizable, self-documenting text editor")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue