-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add some sort of indicator if a file has both tabs AND spaces as indentation #13
Comments
I don't speak for Tim but personally I think this isn't appropriate for vim-sleuth. To let me know of possible whitespace problems I have the following in ~/.vim/plugin/bad-whitespace.vim. Obviously if you have some file types where mixed tabs/spaces are valid you'll want to tweak this to only apply to the appropriate file types.
|
Personally I wouldn't find this particularly helpful. For every one time I make this mistake myself, I have a hundred where I'm dealing with someone else's jank file, and I really don't want Sleuth twisting the knife with a nagging message. But the reason I'm going to say no is there just isn't a good way to deliver that message. Anything that interrupts the user with a "press ENTER" prompt sounds positively insufferable. |
If a file has both spaces AND tabs as indentation it would be very handy if vim-slueth would pop up some sort of warning that indentation is inconsistent, so that I know I need to fix it.
The text was updated successfully, but these errors were encountered: