I've got a template for C/C++ code. When I create a new .c file, the template is processed correctly, except that an extra blank line is appended (this seems to happen for all the other templates too).
I tried to add the command execute line('$') . "d _" after the process of ExpandLanguageTemplates, but it didn't work.
Any suggestions? Thanks!
I've got a template for C/C++ code. When I create a new .c file, the template is processed correctly, except that an extra blank line is appended (this seems to happen for all the other templates too).
I tried to add the command
execute line('$') . "d _"after the process ofExpandLanguageTemplates, but it didn't work.Any suggestions? Thanks!