fix bug of some versions of emacs and tree-sitter environment
This commit is contained in:
3 files changed
+5
-2
No files matched your search
@@ -4,6 +4,9 @@
|
||||
(and (fboundp 'treesit-available-p) (treesit-available-p))
|
||||
"Built-in `treesit' available.")
|
||||
|
||||
(setq treesit-extra-load-path
|
||||
(list (file-name-concat creature/config-dir "tree-sitter")))
|
||||
|
||||
(when creature/treesit-available
|
||||
(unless (featurep 'treesit) (require 'treesit))
|
||||
(when (treesit-ready-p 'javascript)
|
||||
|
||||
Reference in new issue
Block a user