mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 17:41:48 +00:00
committed by
Justin M. Keyes
parent
b85bae4cac
commit
6050d3f15d
@@ -91,7 +91,7 @@ function! s:read_page(sect, name) abort
|
||||
let b:manwidth = s:manwidth()
|
||||
silent execute 'read!env MANWIDTH='.b:manwidth s:man_cmd s:man_args(a:sect, a:name)
|
||||
" remove all the backspaced text
|
||||
silent keeppatterns keepjumps %substitute,.\b,,ge
|
||||
silent execute 'keeppatterns keepjumps %substitute,.\b,,e'.(&gdefault?'':'g')
|
||||
while getline(1) =~# '^\s*$'
|
||||
silent keepjumps 1delete _
|
||||
endwhile
|
||||
|
||||
Reference in New Issue
Block a user