You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have insert_final_newline = unset in my .editorconfig, and set nofixendofline in my .vimrc.
When editorconfig runs, it turns fixendofline/fixeol on again, because insert_final_newline isn't set to false:
ifs:IsRuleActive('insert_final_newline', a:config)
ifexists('+fixendofline')
ifa:config["insert_final_newline"] =="false"setlnofixendoflineelsesetlfixendoflineendifelseifexists(':SetNoEOL') ==2ifa:config["insert_final_newline"] =="false"silent! SetNoEOL" Use the PreserveNoEOL plugin to accomplish itendifendifendif
It may make more sense if unset just used the existing (no)fixeol setting.
The reason I'm using unset at all is because I have true in my home folder's .editorconfig, but want to unset it for a project in a subdirectory.
The text was updated successfully, but these errors were encountered:
I have
insert_final_newline = unset
in my.editorconfig
, andset nofixendofline
in my.vimrc
.When editorconfig runs, it turns
fixendofline
/fixeol
on again, becauseinsert_final_newline
isn't set tofalse
:It may make more sense if
unset
just used the existing(no)fixeol
setting.The reason I'm using
unset
at all is because I havetrue
in my home folder's.editorconfig
, but want to unset it for a project in a subdirectory.The text was updated successfully, but these errors were encountered: