vim-template icon indicating copy to clipboard operation
vim-template copied to clipboard

Blank line added to end of template

Open jgarbers opened this issue 7 years ago • 1 comments

I've got a template for Python code. When I create a new .py file, the template is processed correctly, except that an extra blank line is appended (this seems to happen for all the other templates too). The Python style checker I use complains about blank lines at the end of the file so I'd prefer it not to be there. Any suggestions? Thanks!

jgarbers avatar Jun 21 '17 19:06 jgarbers

This looks related to the issue described in #115, which has to do with our logic around l:deleteLastLine in templates.vim:453. Let's keep this as a separate issue, as the described effect is different.

aperezdc avatar Jun 22 '17 11:06 aperezdc