Reduce def-package magic; explicitly use :when property
This commit is contained in:
parent
e4b5cf5a56
commit
3e63d2d23b
19 changed files with 55 additions and 37 deletions
|
@ -116,7 +116,10 @@
|
|||
|
||||
(def-package! irony-eldoc :after irony)
|
||||
|
||||
(def-package! flycheck-irony :after irony :config (flycheck-irony-setup))
|
||||
(def-package! flycheck-irony
|
||||
:when (featurep! :feature syntax-checker)
|
||||
:after irony
|
||||
:config (flycheck-irony-setup))
|
||||
|
||||
|
||||
;;
|
||||
|
@ -130,11 +133,12 @@
|
|||
;; Plugins
|
||||
;;
|
||||
|
||||
(def-package! company-cmake :after cmake-mode)
|
||||
(when (featurep! :completion company)
|
||||
(def-package! company-cmake :after cmake-mode)
|
||||
|
||||
(def-package! company-irony :after irony)
|
||||
(def-package! company-irony :after irony)
|
||||
|
||||
(def-package! company-irony-c-headers :after company-irony)
|
||||
(def-package! company-irony-c-headers :after company-irony))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue