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

E492: Not an editor command: CljfmtRange #47

Open
sushovannits opened this issue Apr 16, 2020 · 1 comment
Open

E492: Not an editor command: CljfmtRange #47

sushovannits opened this issue Apr 16, 2020 · 1 comment

Comments

@sushovannits
Copy link

sushovannits commented Apr 16, 2020

Hi
Great plugin.
I am using neovim
I keep getting this:
E492: Not an editor command: CljfmtRange
when trying to use the range command

@sushovannits
Copy link
Author

Removing the -buffer makes it work. Sorry for my ignorance in vim script I am not sure why the buffer option is required:

command! -buffer -bang -range=0 -nargs=* CljfmtRange :exe s:CljfmtRange(<bang>0, <line1>, <line2>, <count>, <q-args>)

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