lang/cc: refactor company-(glsl|cmake) configs

This commit is contained in:
Henrik Lissner
2018-08-08 00:11:20 +02:00
parent 78e4559465
commit b17bbf2729

View File

@ -161,12 +161,10 @@ compilation database is present in the project.")
;; ;;
;; `cmake-mode' ;; `cmake-mode'
(after! cmake-mode
(set-company-backend! 'cmake-mode '(company-cmake company-yasnippet)))
(def-package! company-cmake (def-package! company-cmake
:when (featurep! :completion company) :when (featurep! :completion company)
:after cmake-mode) :after cmake-mode
:config (set-company-backend! 'cmake-mode 'company-cmake))
;; `demangle-mode' ;; `demangle-mode'
@ -178,7 +176,7 @@ compilation database is present in the project.")
(def-package! company-glsl (def-package! company-glsl
:when (featurep! :completion company) :when (featurep! :completion company)
:after glsl-mode :after glsl-mode
:config (set-company-backend! 'glsl-mode '(company-glsl))) :config (set-company-backend! 'glsl-mode 'company-glsl))
;; ;;