mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Delete empty lines silently, closes #27
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user