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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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))
;;