Merge pull request #11 from atn34/fix-Tags
Fix :Tags command tagfile relative path
This commit is contained in:
commit
8cc0b2ea71
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ function! fzf#vim#tags(...)
|
||||||
let copt = '--ansi '
|
let copt = '--ansi '
|
||||||
endif
|
endif
|
||||||
call s:fzf({
|
call s:fzf({
|
||||||
\ 'source': proc.shellescape(tagfile),
|
\ 'source': proc.shellescape(fnamemodify(tagfile, ':t')),
|
||||||
\ 'dir': fnamemodify(tagfile, ':h'),
|
\ 'dir': fnamemodify(tagfile, ':h'),
|
||||||
\ 'options': copt.'+m --tiebreak=begin --prompt "Tags> "'.s:expect(),
|
\ 'options': copt.'+m --tiebreak=begin --prompt "Tags> "'.s:expect(),
|
||||||
\ 'sink*': function('s:tags_sink')}, a:000)
|
\ 'sink*': function('s:tags_sink')}, a:000)
|
||||||
|
|
Loading…
Add table
Reference in a new issue