validator.vim icon indicating copy to clipboard operation
validator.vim copied to clipboard

Confusing mark for 'eol' options

Open johnny-mh opened this issue 9 years ago • 1 comments

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.

johnny-mh avatar Oct 10 '16 03:10 johnny-mh

Totally have this problem also

timtyrrell avatar Feb 13 '17 20:02 timtyrrell