From e979e9abcdc891bff21bda53fe50ee3134f3db7b Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Fri, 24 Jun 2011 12:37:01 +1200 Subject: [PATCH] Delete empty lines silently, closes #27 --- plugin/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 9b6f3c9..9b82b19 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -2087,7 +2087,7 @@ function! s:RenderContent(...) " Delete empty lines at the end of the buffer for linenr in range(line('$'), 1, -1) if getline(linenr) =~ '^$' - execute linenr . 'delete _' + execute 'silent ' . linenr . 'delete _' else break endif