refactor(corfu): unwrap add-hook from after! block
add-hook handles void variables so there is no need to wrap it in an after! block. This also makes it easier for the user to remove the hook.
This commit is contained in:
parent
86e5994003
commit
775749c4cf
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@
|
|||
(add-to-list 'corfu-continue-commands #'+corfu-move-to-minibuffer)
|
||||
|
||||
|
||||
(after! evil
|
||||
(add-hook 'evil-insert-state-exit-hook #'corfu-quit))
|
||||
(add-hook 'evil-insert-state-exit-hook #'corfu-quit)
|
||||
|
||||
(when (modulep! +icons)
|
||||
(add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue