feat(language/go): remove inlay hints and add commended out gopls debug settings

This commit is contained in:
2024-08-06 23:49:09 +01:00
parent 2f17a18122
commit 9fdf08a804

View File

@@ -114,6 +114,7 @@
:custom
(lsp-go-use-placeholders t)
(lsp-go-link-target "pkg.go.dev")
;; (lsp-go-gopls-server-args '("-rpc.trace" "-debug=localhost:6060"))
(lsp-go-use-gofumpt t)
(lsp-go-analyses '((nilness . t)
(shadow . t)
@@ -130,10 +131,6 @@
(test . t)
(vendor . t)))
:config
(lsp-register-custom-settings
'(("gopls.hints" ((constantValues . t)))))
:preface
(defun siren-lsp-go-mode-setup ()
;; Disable semantic tokens as it isn't support by gopls.