From 28dffe527fddcb493de93b3ba07d6b0bc494c636 Mon Sep 17 00:00:00 2001 From: Theron Cross Date: Mon, 28 Jun 2021 20:39:27 -0700 Subject: [PATCH] fix: insert_final_newline not respected As suggested in the last comment in #136, this also turns off eol. --- plugin/editorconfig.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/editorconfig.vim b/plugin/editorconfig.vim index 2daaa0b1..d17de932 100644 --- a/plugin/editorconfig.vim +++ b/plugin/editorconfig.vim @@ -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