Skip to content

Commit

Permalink
fix: insert_final_newline not respected
Browse files Browse the repository at this point in the history
As suggested in the last comment in editorconfig#136, this also turns off eol.
  • Loading branch information
theroncross committed Jun 29, 2021
1 parent f305bc7 commit 28dffe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/editorconfig.vim
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ function! s:ApplyConfig(config) abort " Set the buffer options {{{1
if exists('+fixendofline')
if a:config["insert_final_newline"] == "false"
setl nofixendofline
setl noendofline
else
setl fixendofline
endif
Expand Down

0 comments on commit 28dffe5

Please sign in to comment.