Merge pull request #11 from atn34/fix-Tags

Fix :Tags command tagfile relative path
This commit is contained in:
Junegunn Choi 2015-09-17 14:59:51 +09:00
commit 8cc0b2ea71

View file

@ -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)