Skip to content

Commit

Permalink
feat(language/go): remove inlay hints and add commended out gopls deb…
Browse files Browse the repository at this point in the history
…ug settings
  • Loading branch information
jimeh committed Aug 6, 2024
1 parent 2f17a18 commit 9fdf08a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/languages/siren-golang.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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.
Expand Down

0 comments on commit 9fdf08a

Please sign in to comment.