diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index a4a707e..223d1fe 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -1852,7 +1852,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 linenr . 'delete _' else break endif