lang/common-lisp: fix sly-mode localleader keys
This fixes a bug that caused evil keybinds on sly-mode-map to be inaccessible until you switched states.
This commit is contained in:
parent
ba93402dcc
commit
a078e3f4b2
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ bin/doom while packages at compile-time (not a runtime though)."
|
|||
;; Since `evil-collection-slime' exists, but not `evil-collection-sly', we
|
||||
;; simply copy it
|
||||
(when (featurep! :feature evil +everywhere)
|
||||
(add-hook 'sly-mode-hook #'evil-normalize-keymaps)
|
||||
(add-hook 'sly-popup-buffer-mode-hook #'evil-normalize-keymaps)
|
||||
(unless evil-move-beyond-eol
|
||||
(advice-add #'sly-eval-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue