mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
man.vim: prevent bell in ':wincmd w' when only one window (#5328)
This commit is contained in:
committed by
Justin M. Keyes
parent
13db9236fe
commit
4ceacb37d5
@@ -176,6 +176,8 @@ endfunction
|
||||
function! s:find_man() abort
|
||||
if &filetype ==# 'man'
|
||||
return 1
|
||||
elseif winnr('$') ==# 1
|
||||
return 0
|
||||
endif
|
||||
let thiswin = winnr()
|
||||
while 1
|
||||
|
||||
Reference in New Issue
Block a user