mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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
|
;; Since `evil-collection-slime' exists, but not `evil-collection-sly', we
|
||||||
;; simply copy it
|
;; simply copy it
|
||||||
(when (featurep! :feature evil +everywhere)
|
(when (featurep! :feature evil +everywhere)
|
||||||
|
(add-hook 'sly-mode-hook #'evil-normalize-keymaps)
|
||||||
(add-hook 'sly-popup-buffer-mode-hook #'evil-normalize-keymaps)
|
(add-hook 'sly-popup-buffer-mode-hook #'evil-normalize-keymaps)
|
||||||
(unless evil-move-beyond-eol
|
(unless evil-move-beyond-eol
|
||||||
(advice-add #'sly-eval-last-expression :around #'+common-lisp*sly-last-sexp)
|
(advice-add #'sly-eval-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||||
|
Reference in New Issue
Block a user