Ensure lsp-mode features are disabled (headerline and inlays)
This commit is contained in:
parent
3becf805be
commit
2832882544
6
init.el
6
init.el
@ -522,11 +522,11 @@ visual states."
|
|||||||
latex-mode markdown-mode blueprint-ts-mode) . lsp-mode)
|
latex-mode markdown-mode blueprint-ts-mode) . lsp-mode)
|
||||||
(lsp-mode . my/-setup-lsp-mode-buffer))
|
(lsp-mode . my/-setup-lsp-mode-buffer))
|
||||||
:init
|
:init
|
||||||
(setq lsp-completion-provider :none)
|
(setq lsp-completion-provider :none
|
||||||
|
lsp-headerline-breadcrumb-enable nil
|
||||||
|
lsp-inlay-hint-enable nil)
|
||||||
(defun my/-setup-lsp-mode-buffer ()
|
(defun my/-setup-lsp-mode-buffer ()
|
||||||
"Called by `lsp-mode-hook' to setup lsp-mode buffers."
|
"Called by `lsp-mode-hook' to setup lsp-mode buffers."
|
||||||
(lsp-headerline-breadcrumb-mode -1)
|
|
||||||
(lsp-inlay-hints-mode -1)
|
|
||||||
(evil-define-key '(normal visual motion) 'local
|
(evil-define-key '(normal visual motion) 'local
|
||||||
"gR" #'lsp-rename
|
"gR" #'lsp-rename
|
||||||
"gA" #'lsp-execute-code-action
|
"gA" #'lsp-execute-code-action
|
||||||
|
Loading…
Reference in New Issue
Block a user