Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evil-org-> and evil-org-< require count argument #115

Open
ian-h-chamberlain opened this issue Aug 13, 2024 · 0 comments
Open

evil-org-> and evil-org-< require count argument #115

ian-h-chamberlain opened this issue Aug 13, 2024 · 0 comments

Comments

@ian-h-chamberlain
Copy link

Attempting to use << or >>, I saw this message and nothing would be indented/dedented:

evil-org->: Wrong number of arguments: (0 . 0), 1 [2 times]

After I looked into it I found that > and < operators have a required count argument:

(evil-define-operator evil-org-> (beg end count)
;; ...
)

Changing them to optional seems to fix the problem, although I don't know if it's 100% correct:

(evil-define-operator evil-org-> (beg end &optional count)
;; ...
)

I'm not sure if this package is still maintained, but even if not hopefully this helps someone else who was frustrated by this keybind not working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant