mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(language/go): remove inlay hints and add commended out gopls debug settings
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user