diff options
-rw-r--r-- | config/emacs/emacs.d/lisp/init-lsp.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/emacs/emacs.d/lisp/init-lsp.el b/config/emacs/emacs.d/lisp/init-lsp.el index 777ccf5c..4ea40e02 100644 --- a/config/emacs/emacs.d/lisp/init-lsp.el +++ b/config/emacs/emacs.d/lisp/init-lsp.el @@ -23,6 +23,8 @@ (defvar lsp-document-sync-method) (defvar lsp-response-timeout) (defvar lsp-clients-go-server-args) +(defvar lsp-semantic-tokens-enable) +(defvar lsp-completion-provider) (defvar lsp-ui-doc-delay) (defvar lsp-ui-sideline-enable) (defvar lsp-ui-sideline-show-symbol) @@ -63,7 +65,9 @@ "--index" "-log=error")) (setq lsp-clients-go-server-args '("--cache-style=always" - "--diagnostics-style=onsave"))) + "--diagnostics-style=onsave")) + (setq lsp-semantic-tokens-enable t) + (setq lsp-completion-provider ':capf)) (use-package lsp-ui :after lsp-mode |