fix(language/go): ensure tree-sitter grammar correctly

This commit is contained in:
2024-11-05 00:18:45 +00:00
parent 509c6ef8a5
commit 0c124709b9
2 changed files with 15 additions and 5 deletions

View File

@@ -151,7 +151,7 @@
(auto-highlight-symbol-mode -1)))
:config
(siren-treesit-auto-ensure-grammar 'go)
(siren-treesit-auto-ensure-grammars 'go 'gomod)
(siren-define-golines-format-mode)
@@ -181,7 +181,7 @@
'(((module_path) @font-lock-constant-face))))
:config
(siren-treesit-auto-ensure-grammar 'gomod)))
(siren-treesit-auto-ensure-grammars 'go 'gomod)))
(use-package lsp-go
:straight lsp-mode