mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-29 15:26:54 +08:00
Merge pull request #11 from atn34/fix-Tags
Fix :Tags command tagfile relative path
This commit is contained in:
@@ -437,7 +437,7 @@ function! fzf#vim#tags(...)
|
||||
let copt = '--ansi '
|
||||
endif
|
||||
call s:fzf({
|
||||
\ 'source': proc.shellescape(tagfile),
|
||||
\ 'source': proc.shellescape(fnamemodify(tagfile, ':t')),
|
||||
\ 'dir': fnamemodify(tagfile, ':h'),
|
||||
\ 'options': copt.'+m --tiebreak=begin --prompt "Tags> "'.s:expect(),
|
||||
\ 'sink*': function('s:tags_sink')}, a:000)
|
||||
|
||||
Reference in New Issue
Block a user