From c99406db8265b0c48debbbca630ad7445cd59b65 Mon Sep 17 00:00:00 2001 From: haemka Date: Thu, 29 Sep 2022 08:29:28 +0200 Subject: [PATCH] Fix extra blank line on end of file --- plugin/templates.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/templates.vim b/plugin/templates.vim index 7659ed8..8d40c9b 100644 --- a/plugin/templates.vim +++ b/plugin/templates.vim @@ -177,6 +177,8 @@ function ExpandLanguageTemplates() call ExpandTemplate('CLASS', l:filename) call ExpandTemplate('CAMEL_CLASS', l:camelclass) call ExpandTemplate('SNAKE_CLASS', l:snakeclass) + + execute line('$') . "d _" endfunction function MoveCursor()