validator.vim
validator.vim copied to clipboard
Confusing mark for 'eol' options
Hi
In default vim configuration, binary option is off.
Is that mean, append newline character automatically at end of file when saving current buffer.
So i ran eslint -c .eslintrc myfile.js there is no 'eol-last' errors.
But, validator plugin in vim warning no end of new line at file because no 'eol' character while editing file.
So i switch vim editing mode to not prepend newline when saving current buffer. (:set binary) but this seems to weird.
I think that is not problem.. but need some way to avoid this situation.
Totally have this problem also