lang/cc: remove unnecessary settings
lsp-mode no longer uses company-lsp and with the remove of company-prescient company-transformers is already nil.
This commit is contained in:
parent
e52993fe33
commit
0f39d7bda4
1 changed files with 1 additions and 5 deletions
|
@ -230,11 +230,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
|
||||||
(add-hook! '(c-mode-local-vars-hook
|
(add-hook! '(c-mode-local-vars-hook
|
||||||
c++-mode-local-vars-hook
|
c++-mode-local-vars-hook
|
||||||
objc-mode-local-vars-hook)
|
objc-mode-local-vars-hook)
|
||||||
(defun +cc-init-lsp-h ()
|
#'lsp!)
|
||||||
(setq-local company-transformers nil)
|
|
||||||
(setq-local company-lsp-async t)
|
|
||||||
(setq-local company-lsp-cache-candidates nil)
|
|
||||||
(lsp!)))
|
|
||||||
|
|
||||||
(when (featurep! :tools lsp +eglot)
|
(when (featurep! :tools lsp +eglot)
|
||||||
;; Map eglot specific helper
|
;; Map eglot specific helper
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue