Closed fredrikekelund closed 7 years ago
@fredrikekelund - thank you for reporting and sorry for these inconvenience! Just to be sure, in which files does this happen?
In both a PHP and a JS file, the problem went away after disabling the editorconfig plugin and restarting the editor. If I re-enabled the plugin and restarted again, the problem came back
I am really sorry - i prepare a patch. :(
Don't worry, looks like I happened to update just a few minutes after the latest release, so I don't think that many people will be affected :)
Oh no - it is always a nightmare.. 🙀
As a quick solution, try to explicitly define f.e. end_of_line = lf
-- this seems only to happen if no eol is set.
@florianb yup, that did the trick!
@fredrikekelund - i released a patch, everything* should now work as expect.
Thank you very much for your fast response! Please tell me if this works for you, i would then close that issue.
*) Except from preventing Atom saving multiple newlines at the end of a file. But thats not that urgent, i will prepare a patch for that now.
@florianb I removed the end_of_line = lf
, tested the new version (after a restart of the editor), and it seems to work as expected now :+1:
Same to you, happy you were able to resolve the issue so quickly!
I just updated to the 1.5.1 version, and it seems to be inserting the string "auto" before the final newline of a file whenever I save it. I'm guessing it concerns the
insert_final_newline
setting.Involved .editorconfig-files
Directory structure
Installed packages