feature/evil: refactor neotree-make-executor fix

The autoload is necessary in case neotree was installed in another
session.
This commit is contained in:
Henrik Lissner 2018-09-26 10:46:43 -04:00
parent eb9fa90adf
commit d9a179d071
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -24,6 +24,7 @@
;; `evil-collection-neotree' uses the `neotree-make-executor' macro, but this
;; requires neotree be available during byte-compilation (while installing).
(when (featurep! :ui neotree)
(depends-on! :ui neotree))
(package! neotree)
(autoload 'neotree-make-executor "neotree" nil nil 'macro))
(package! evil-collection))