Remove underscore in argument to placate CI in evil-collection-eshell
evil-define-operator accesses the arguments of the operator it is defining, regardless of whether they are used in any meaningful way.
This commit is contained in:
parent
2e6a40974e
commit
3e62b6b131
|
@ -79,7 +79,8 @@
|
||||||
type register yank-handler)))
|
type register yank-handler)))
|
||||||
|
|
||||||
;; Taken from Doom Emacs
|
;; Taken from Doom Emacs
|
||||||
(evil-define-operator evil-collection-eshell-evil-delete-line (_beg end type register yank-handler)
|
;; Although the BEG argument doesn't get used in any meaningful way, `evil-define-operator' must access it nonetheless, so putting an underscore in front will make the CI fail.
|
||||||
|
(evil-define-operator evil-collection-eshell-evil-delete-line (beg end type register yank-handler)
|
||||||
"Change to end of line."
|
"Change to end of line."
|
||||||
:motion nil
|
:motion nil
|
||||||
:keep-visual t
|
:keep-visual t
|
||||||
|
|
Loading…
Reference in New Issue