-
Notifications
You must be signed in to change notification settings - Fork 139
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
neovim fixendofline is enabled but insert_final_newline doesn't work #74
Comments
Have the same issue |
Can you give detailed steps to reproduce? |
Run
This is the issue I'm having. Can anyone confirm that it is the same? |
I am also having same issue. I even have in my folder that vim is open in a .editorconfig and still same result |
It is important to check, if the final newline is really present or not. I use: $ hexdump -c file.txt for this purpose as it prints characters one by one in well readable format. I was tricked a bit by LSP python document validation reporting that EOL was missing at the end of file while it was in fact present. So I recommend @jrock2004 @sandrodz @xuhdev and @andrei-pavel to check presence of final newline using hexdump. Tested on Debian 9 with neovim 0.3.0 and neovim 0.2.3 (installed using appimage) |
So I ran the hexdump command and it shows it but I guess we just have to assume everytime that this is working? |
@jrock2004 To be honest, I don't know whether there is an easy way to do this. I think you'll get a more satisfactory answer from the neovim community. |
Have the same issue here. |
insert_final_newline (Feature +fixendofline (available on Vim 7.4.785+) or PreserveNoEOL is required for this property)
in neovim this setting is ON by default, but newline is not inserted.
The text was updated successfully, but these errors were encountered: