tweak(cc): prioritize clangd over ccls
lsp-clangd's default priority is -1. Fix: #2689
This commit is contained in:
parent
1a33838423
commit
cc8cf810f5
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ This is ignored by ccls.")
|
||||||
(after! lsp-mode (require 'ccls))
|
(after! lsp-mode (require 'ccls))
|
||||||
:config
|
:config
|
||||||
(set-evil-initial-state! 'ccls-tree-mode 'emacs)
|
(set-evil-initial-state! 'ccls-tree-mode 'emacs)
|
||||||
|
(set-lsp-priority! 'ccls -2) ; Prioritize clangd over ccls
|
||||||
;; Disable `ccls-sem-highlight-method' if `lsp-enable-semantic-highlighting'
|
;; Disable `ccls-sem-highlight-method' if `lsp-enable-semantic-highlighting'
|
||||||
;; is nil. Otherwise, it appears ccls bypasses it.
|
;; is nil. Otherwise, it appears ccls bypasses it.
|
||||||
(setq-hook! 'lsp-configure-hook
|
(setq-hook! 'lsp-configure-hook
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue