feat(lsp): enable inlay hints

This commit is contained in:
2023-05-09 01:02:49 +01:00
parent e8cdcaebe9
commit 5d65b32d1a
2 changed files with 4 additions and 0 deletions

View File

@@ -113,6 +113,9 @@
(vendor . t)))
:config
(lsp-register-custom-settings
'(("gopls.hints" ((constantValues . t)))))
;; Create custom lsp-client for golangci-lint-langserver.
(lsp-register-custom-settings
'(("golangci-lint.command" ["golangci-lint" "run"

View File

@@ -33,6 +33,7 @@
(lsp-enable-xref t)
(lsp-headerline-breadcrumb-enable t)
(lsp-idle-delay 0.4)
(lsp-inlay-hint-enable t)
(lsp-keymap-prefix "M-;")
(lsp-lens-enable t)
(lsp-modeline-diagnostics-enable t)