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:
Henrik Lissner 2020-07-26 14:52:27 -04:00
parent e52993fe33
commit 0f39d7bda4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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
c++-mode-local-vars-hook
objc-mode-local-vars-hook)
(defun +cc-init-lsp-h ()
(setq-local company-transformers nil)
(setq-local company-lsp-async t)
(setq-local company-lsp-cache-candidates nil)
(lsp!)))
#'lsp!)
(when (featurep! :tools lsp +eglot)
;; Map eglot specific helper