[Tags] Remove --with-nth option to speed up loading

This commit is contained in:
Junegunn Choi 2017-07-24 02:35:21 +09:00
parent 55f6bc8367
commit 685f9aae97
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -778,7 +778,7 @@ function! fzf#vim#tags(query, ...)
return s:fzf('tags', {
\ 'source': shellescape(s:bin.tags).' '.join(map(tagfiles, 'shellescape(fnamemodify(v:val, ":p"))')),
\ 'sink*': s:function('s:tags_sink'),
\ 'options': opts.'--nth 1..2 --with-nth ..-2 -m --tiebreak=begin --prompt "Tags> "'.s:q(a:query)}, a:000)
\ 'options': opts.'--nth 1..2 -m --tiebreak=begin --prompt "Tags> "'.s:q(a:query)}, a:000)
endfunction
" ------------------------------------------------------------------