-
Notifications
You must be signed in to change notification settings - Fork 4
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
Warn about abbreviated names #9
Comments
That's an interesting idea. Here are my thoughts: Writing something like If this was to be implemented, it might also be a good idea to have some kind of |
I'll install vim-lint and poke around its source code tonight and report back here. Assuming we can agree that it'd be a good addition and the implementation wouldn't get too ugly, I'm happy to submit a PR. |
I see the code already includes a list of ex commands and an expand() function, so the work may be mostly done =). |
Yeah it should be a pretty easy fix in Since this is not a change everyone will agree with an option should be added to
I gratuitously accept your help! If you don't get around to it I'll happily take a look myself this weekend as well. |
Agreed that an ignore parameter would be nice. Perhaps VLFix would not be a good idea as it kind of changes the scope of this plugin. Linters are never expected to be able to edit files. Granted you "could", but if you exported the warnings to a quickfix list, it would be really easy for a user to |
Actually, syntastic has the Just wanted to let you know that I'm currently adding a unit testing system (similar to PEP8) and I'm a little swamped at the moment with other things as well. So even though I think this is a valid issue I will have to shelf it for a while. |
No worries. It's not a pressing need. I'll may take a stab at it myself and meant to work on it this weekend but got caught up with other things. |
Vim lets you abbreviate commands (
autocmd
->au
) and options (nonumber
->nonu
). This is typically considered poor form. Perhaps vim-lint should warn users when they use the shortened versions of commands/options in their viml.The text was updated successfully, but these errors were encountered: