mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/cc: refactor company-(glsl|cmake) configs
This commit is contained in:
@ -161,12 +161,10 @@ compilation database is present in the project.")
|
||||
;;
|
||||
|
||||
;; `cmake-mode'
|
||||
(after! cmake-mode
|
||||
(set-company-backend! 'cmake-mode '(company-cmake company-yasnippet)))
|
||||
|
||||
(def-package! company-cmake
|
||||
:when (featurep! :completion company)
|
||||
:after cmake-mode)
|
||||
:after cmake-mode
|
||||
:config (set-company-backend! 'cmake-mode 'company-cmake))
|
||||
|
||||
|
||||
;; `demangle-mode'
|
||||
@ -178,7 +176,7 @@ compilation database is present in the project.")
|
||||
(def-package! company-glsl
|
||||
:when (featurep! :completion company)
|
||||
:after glsl-mode
|
||||
:config (set-company-backend! 'glsl-mode '(company-glsl)))
|
||||
:config (set-company-backend! 'glsl-mode 'company-glsl))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user