mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user