From 7b4cc4983f7942a6a2a8185cba6f029b25fce2e3 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 3 Sep 2023 12:19:33 +0200 Subject: emacs: Fix tree-sitter config for gomod --- .config/emacs/config.org | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.config/emacs/config.org') diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 4c39ec3..dc7e06e 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -763,7 +763,7 @@ already installed unfortunately, but it’s easy enough to do manually. (css "https://github.com/tree-sitter/tree-sitter-css") (elisp "https://github.com/Wilfred/tree-sitter-elisp") (go "https://github.com/tree-sitter/tree-sitter-go") - (go-mod "https://github.com/camdencheek/tree-sitter-go-mod.git") + (gomod "https://github.com/camdencheek/tree-sitter-go-mod.git") (html "https://github.com/tree-sitter/tree-sitter-html") (json "https://github.com/tree-sitter/tree-sitter-json") (make "https://github.com/alemuller/tree-sitter-make") @@ -772,9 +772,6 @@ already installed unfortunately, but it’s easy enough to do manually. (toml "https://github.com/tree-sitter/tree-sitter-toml") (yaml "https://github.com/ikatyang/tree-sitter-yaml"))) - (setq treesit-load-name-override-list - '((go-mod "libtree-sitter-go-mod" "tree_sitter_gomod"))) - ;; Automatically install missing grammars (thread-last (mapcar #'car treesit-language-source-alist) -- cgit v1.2.3