mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lsp): enable inlay hints
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user