mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
man.vim: parse the section from the tag
This commit is contained in:
parent
2f0412e61d
commit
0173bdf98b
@ -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 -> {
|
||||
|
Loading…
Reference in New Issue
Block a user