From b9581763df79a481bebc0d82ed1666cf02b8d64b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Sat, 11 Apr 2015 10:32:45 -0400 Subject: [PATCH] misc/vim: delete the first empty line of the preview window on Nitdoc command MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- misc/vim/plugin/nit.vim | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.7.9.5