mirror of
https://github.com/jojojames/evil-collection.git
synced 2024-06-22 07:06:37 +02:00
vterm-exit-functions now sends event as 2nd arg.
This commit is contained in:
parent
9566f1ad72
commit
21d7553ab0
|
@ -40,7 +40,7 @@ Moving cursor backwards is the default vim behavior but
|
|||
it is not appropriate in some cases like terminals."
|
||||
(setq-local evil-move-cursor-back nil))
|
||||
|
||||
(defun evil-collection-vterm-exit-function (buffer)
|
||||
(defun evil-collection-vterm-exit-function (buffer &optional event)
|
||||
"Automatically kill `vterm' buffer on exit."
|
||||
(when buffer
|
||||
(kill-buffer buffer)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user