mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(language/go): disable lsp semantic tokens
This commit is contained in:
@@ -118,6 +118,9 @@
|
||||
|
||||
:preface
|
||||
(defun siren-lsp-go-mode-setup ()
|
||||
;; Disable semantic tokens as it isn't support by gopls.
|
||||
(setq-local lsp-semantic-tokens-enable nil)
|
||||
|
||||
(setq-local siren-lsp-manual-format-buffer-func
|
||||
'siren-lsp-go-manual-format-buffer)
|
||||
(lsp-format-buffer-on-save-mode t)
|
||||
|
||||
Reference in New Issue
Block a user