mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
parent
5563e808da
commit
3eaa9a2579
@ -65,9 +65,9 @@ function! man#open_page(count, count1, mods, ...) abort
|
|||||||
try
|
try
|
||||||
set eventignore+=BufReadCmd
|
set eventignore+=BufReadCmd
|
||||||
if a:mods !~# 'tab' && s:find_man()
|
if a:mods !~# 'tab' && s:find_man()
|
||||||
execute 'silent edit' fnameescape(bufname)
|
execute 'silent keepalt edit' fnameescape(bufname)
|
||||||
else
|
else
|
||||||
execute 'silent' a:mods 'split' fnameescape(bufname)
|
execute 'silent keepalt' a:mods 'split' fnameescape(bufname)
|
||||||
endif
|
endif
|
||||||
finally
|
finally
|
||||||
set eventignore-=BufReadCmd
|
set eventignore-=BufReadCmd
|
||||||
|
Loading…
Reference in New Issue
Block a user