pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.6k stars 519 forks source link

Question: Trim EndOfLine on Save ? #1112

Closed jjvbsag closed 3 years ago

jjvbsag commented 3 years ago

Is there an option (or a package) to get the following:

On Save File before save is done

pkulchenko commented 3 years ago

@jjvbsag, there is striptrailingwhitespace package that does the first thing. You can probably extend it to take care of the second one.