lang/cc: (when ...) -> :when
This commit is contained in:
parent
b5cb8a0527
commit
e5dcdadd5e
1 changed files with 19 additions and 11 deletions
|
@ -163,19 +163,27 @@ compilation database is present in the project.")
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Plugins
|
;; Company plugins
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(when (featurep! :completion company)
|
(def-package! company-cmake
|
||||||
(def-package! company-cmake :after cmake-mode)
|
:when (featurep! :completion company)
|
||||||
|
:after cmake-mode)
|
||||||
|
|
||||||
(def-package! company-irony :after irony)
|
(def-package! company-irony
|
||||||
|
:when (featurep! :completion company)
|
||||||
|
:after irony)
|
||||||
|
|
||||||
(def-package! company-irony-c-headers :after company-irony)
|
(def-package! company-irony-c-headers
|
||||||
|
:when (featurep! :completion company)
|
||||||
|
:after company-irony)
|
||||||
|
|
||||||
(def-package! company-glsl
|
(def-package! company-glsl
|
||||||
|
:when (featurep! :completion company)
|
||||||
:after glsl-mode
|
:after glsl-mode
|
||||||
:config
|
:config
|
||||||
(if (executable-find "glslangValidator")
|
(if (executable-find "glslangValidator")
|
||||||
(warn "glsl-mode: couldn't find glslangValidator, disabling company-glsl")
|
(warn "glsl-mode: couldn't find glslangValidator, disabling company-glsl")
|
||||||
(set! :company-backend 'glsl-mode '(company-glsl)))))
|
(set! :company-backend 'glsl-mode '(company-glsl))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue