Hello everyone.
I’m wondering if there’s an option to delete all but 1 extra lines on the bottom of a file when saving. I know there is an option “ensure newline on save” and i have that enabled. This works fine - I get 1 newline when saving. However, if there is multiple newlines already on the bottom, and then I save, there will still be multiple newlines. I only want one.
Is there such an option? Thanks in advance.