diff options
Diffstat (limited to 'autoload/ctrlp/buffertag.vim')
| -rw-r--r-- | autoload/ctrlp/buffertag.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/ctrlp/buffertag.vim b/autoload/ctrlp/buffertag.vim index f36a5cf..b83a801 100644 --- a/autoload/ctrlp/buffertag.vim +++ b/autoload/ctrlp/buffertag.vim @@ -139,12 +139,12 @@ fu! s:exectags(cmd) endf fu! s:exectagsonfile(fname, ftype) - let [ags, ft] = ['-f - --sort=no --excmd=pattern --fields=nKs --extra= --file-scope=yes ', a:ftype] + let [ags, ft] = [get(g:, 'ctrlp_buffertag_options', '-f - --sort=no --excmd=pattern --fields=nKs --extra= --file-scope=yes'), a:ftype] if type(s:types[ft]) == 1 - let ags .= s:types[ft] + let ags .= ' ' . s:types[ft] let bin = s:bin elsei type(s:types[ft]) == 4 - let ags = s:types[ft]['args'] + let ags = ' ' . s:types[ft]['args'] let bin = expand(s:types[ft]['bin'], 1) en if empty(bin) | retu '' | en |