summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el11
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