[BTags] Remove --language-force option

Close #17
This commit is contained in:
Junegunn Choi
2015-09-29 11:48:45 +09:00
parent d72f1361f1
commit 8e4536384b

View File

@@ -380,8 +380,8 @@ endfunction
" ------------------------------------------------------------------
function! s:btags_source()
let lines = map(split(system(printf(
\ 'ctags -f - --sort=no --excmd=number --language-force=%s %s',
\ &filetype, expand('%:S'))), "\n"), 'split(v:val, "\t")')
\ 'ctags -f - --sort=no --excmd=number %s',
\ expand('%:S'))), "\n"), 'split(v:val, "\t")')
if v:shell_error
throw 'Failed to extract tags'
endif