Is there some way to enforce a trailing newline on new file create (and update)? Is this a plugin-shaped problem, or a preference I can set?
Thanks,
Walter
I believe this plugin can do it with the right config file: https://github.com/Mr0grog/editorconfig-textmate https://github.com/Mr0grog/editorconfig-textmate
On 6 Feb ’21, at 12:56 PM, Walter Lee Davis via TextMate textmate@lists.macromates.com wrote:
Is there some way to enforce a trailing newline on new file create (and update)? Is this a plugin-shaped problem, or a preference I can set?
Thanks,
Walter _______________________________________________ TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
Use https://github.com/adamjspooner/Ensure-Newline-at-EOF-on-Save.tmbundle
On 6 Feb 2021, at 18:56, Walter Lee Davis via TextMate textmate@lists.macromates.com wrote:
Is there some way to enforce a trailing newline on new file create (and update)? Is this a plugin-shaped problem, or a preference I can set?
There’s no preference in TextMate for this. But there’s this [1] bundle that implement: ensure trailing newline on save.
[1] https://github.com/elia/avian-missing.tmbundle
Thanks everyone! I will look these over!
Walter
On Feb 7, 2021, at 2:26 AM, Jacob Carlborg via TextMate textmate@lists.macromates.com wrote:
On 6 Feb 2021, at 18:56, Walter Lee Davis via TextMate textmate@lists.macromates.com wrote:
Is there some way to enforce a trailing newline on new file create (and update)? Is this a plugin-shaped problem, or a preference I can set?
There’s no preference in TextMate for this. But there’s this [1] bundle that implement: ensure trailing newline on save.
[1] https://github.com/elia/avian-missing.tmbundle
-- /Jacob Carlborg
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com