From: Alexis Laferrière Date: Sat, 11 Apr 2015 14:32:45 +0000 (-0400) Subject: misc/vim: delete the first empty line of the preview window on Nitdoc command X-Git-Tag: v0.7.4~30^2~2 X-Git-Url: http://nitlanguage.org misc/vim: delete the first empty line of the preview window on Nitdoc command Signed-off-by: Alexis Laferrière --- diff --git a/misc/vim/plugin/nit.vim b/misc/vim/plugin/nit.vim index 2fe79d0..2917756 100644 --- a/misc/vim/plugin/nit.vim +++ b/misc/vim/plugin/nit.vim @@ -334,6 +334,8 @@ fun Nitdoc(...) silent put = '' endif endfor + execute 0 + delete " the first empty line " Set options setlocal buftype=nofile