ted v. 2.7.1
just a minor release!
- handle longer lines in .editorconfig files. i didn't know that some projects use editorconfig values which aren't in the spec! and so i assumed lines would be relatively short because everything in the spec was . how foolish .
- ted backup files (which only exist temporarily upon saving to prevent loss of data) are now named
file~
instead offile.ted-bk
to be nicer to gitignores, etc. - backup files are now created with mode 600 on unix , to prevent leaking file contents to other users
- ted now does fdatasync/_commit after writing to ensure that even if power is lost mid-save, no data can ever be lost (at least if it is, it won't be ted's fault…)
- indentation can now be auto-detected from file contents. hopefully the detection isnt wrong too often…