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