summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-03 12:19:33 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-03 12:19:33 +0200
commit7b4cc4983f7942a6a2a8185cba6f029b25fce2e3 (patch)
tree49e47e7022efb04a128240fbc2f7cfe6b2f4cfc8 /.config/emacs
parentf5fc0136272d28c8e046b285ffb7da1f362defac (diff)
emacs: Fix tree-sitter config for gomod
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/config.org5
1 files changed, 1 insertions, 4 deletions
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)