Keep last newline if there is one #3

Merged
merged 1 commit into from Oct 30, 2015

Projects

None yet

4 participants

@Intrepidd

Append a final newline if there already are empty lines before eof fix #2

@sferra
sferra commented Aug 24, 2011

an "append final newline" option would also be very welcome since the plugin already stripped all the final newlines :)

@Intrepidd

This is easily done by changing the indentation of the line i added, and get it out of the "if"

But yes, it would be awesome if we could configure it, but i'm not familiar with pyGtk and Gedit plugins :)

@drahnr
Collaborator
drahnr commented Dec 1, 2013

I think this a good idea, but a toggle-able menu option is definitly a must have for that.

@fedelibre

Please merge it! Without this, it's not usable.
Thanks

@drahnr drahnr merged commit 0975355 into jonleighton:master Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment