mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
man.vim: :Man should not change global value of 'tagfunc' option (#13926)
This commit is contained in:
@@ -51,7 +51,7 @@ function! man#open_page(count, mods, ...) abort
|
||||
|
||||
let [l:buf, l:save_tfu] = [bufnr(), &tagfunc]
|
||||
try
|
||||
set tagfunc=man#goto_tag
|
||||
setlocal tagfunc=man#goto_tag
|
||||
let l:target = l:name . '(' . l:sect . ')'
|
||||
if a:mods !~# 'tab' && s:find_man()
|
||||
execute 'silent keepalt tag' l:target
|
||||
|
||||
Reference in New Issue
Block a user