misc/vim: delete the first empty line of the preview window on Nitdoc command
[nit.git] / misc / vim / plugin / nit.vim
index 2fe79d0..2917756 100644 (file)
@@ -334,6 +334,8 @@ fun Nitdoc(...)
                        silent put = ''
                endif
        endfor
+       execute 0
+       delete " the first empty line
 
        " Set options
        setlocal buftype=nofile