From 6f0677fc2f9f56c3dbe046c90eee947cc01bfd3a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 10 Sep 2024 22:42:44 +0200 Subject: emacs: Get the javascript tree-sitter grammar --- .config/emacs/init.el | 11 ++++++----- 1 file 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 -- cgit v1.2.3