mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
man.vim: parse the section from the tag
This commit is contained in:
@@ -420,10 +420,9 @@ function! man#init_pager() abort
|
||||
endfunction
|
||||
|
||||
function! man#goto_tag(pattern, flags, info) abort
|
||||
" currently no support for section completion
|
||||
let sect = ""
|
||||
let [sect, name] = man#extract_sect_and_name_ref(a:pattern)
|
||||
|
||||
let candidates = s:get_paths(sect, a:pattern)
|
||||
let candidates = s:get_paths(sect, name)
|
||||
|
||||
return map(candidates, {
|
||||
\ _, path -> {
|
||||
|
Reference in New Issue
Block a user