summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-09 23:56:51 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-09 23:56:51 +0200
commit6dc6240ee288e1faf0d0c1e0e0636ae5d3f58de7 (patch)
treec847bb192cd2274d2bd849e35f7e21c81f95a515 /.config/emacs/init.el
parent9151c66f15da05ae5915fc68f9da5d76be495685 (diff)
emacs: Specify tree-sitter parser for Go
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index ea8f224..3f233b7 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -403,6 +403,7 @@ indentation-width.")
(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")))