diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-10 22:42:44 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-10 22:42:44 +0200 |
commit | 6f0677fc2f9f56c3dbe046c90eee947cc01bfd3a (patch) | |
tree | 6dc7b69582df4db85e0ffa138370044275f869d1 /.config/emacs | |
parent | 15e6c0b47078d36cd342501ee000701337ab14df (diff) |
emacs: Get the javascript tree-sitter grammar
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/init.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 9f90210..8db76b0 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -402,11 +402,12 @@ indentation-width.") ;;; Tree-Sitter (when (treesit-available-p) (setq treesit-language-source-alist - '((cpp "https://github.com/tree-sitter/tree-sitter-cpp") - (elisp "https://github.com/Wilfred/tree-sitter-elisp") - (go "https://github.com/tree-sitter/tree-sitter-go") - (gomod "https://github.com/camdencheek/tree-sitter-go-mod") - (html "https://github.com/tree-sitter/tree-sitter-html"))) + '((cpp "https://github.com/tree-sitter/tree-sitter-cpp") + (elisp "https://github.com/Wilfred/tree-sitter-elisp") + (go "https://github.com/tree-sitter/tree-sitter-go") + (gomod "https://github.com/camdencheek/tree-sitter-go-mod") + (html "https://github.com/tree-sitter/tree-sitter-html") + (javascript "https://github.com/tree-sitter/tree-sitter-javascript"))) (defun x-treesit-source-sync () "Install all the tree-sitter grammars in |