From 8fd7c138ca291caf035584018c6205ccabcd29e2 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Fri, 8 Apr 2011 12:53:50 +1200 Subject: [PATCH] Delete empty lines into the black hole register to avoid clobbering others --- plugin/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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