fix evil-search enabling in evil-state (c7e47de
)
There was an error on startup saying that hybrid-mode-use-evil-search-module was void as a variable.
This commit is contained in:
parent
b53a8957a1
commit
cfcdb4dabc
|
@ -41,9 +41,10 @@
|
|||
:override-mode-name spacemacs-leader-override-mode))
|
||||
|
||||
(defun spacemacs-bootstrap/init-evil ()
|
||||
;; ensure that the search module is set at startup
|
||||
(spacemacs/set-evil-search-module dotspacemacs-editing-style)
|
||||
(add-hook 'spacemacs-editing-style-hook 'spacemacs/set-evil-search-module)
|
||||
(with-eval-after-load 'hybrid-mode
|
||||
;; ensure that the search module is set at startup
|
||||
(spacemacs/set-evil-search-module dotspacemacs-editing-style)
|
||||
(add-hook 'spacemacs-editing-style-hook 'spacemacs/set-evil-search-module))
|
||||
|
||||
;; evil-mode is mandatory for Spacemacs to work properly
|
||||
;; evil must be require explicitly, the autoload seems to not
|
||||
|
|
Loading…
Reference in a new issue