mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-17 17:55:57 +08:00
@@ -380,8 +380,8 @@ endfunction
|
|||||||
" ------------------------------------------------------------------
|
" ------------------------------------------------------------------
|
||||||
function! s:btags_source()
|
function! s:btags_source()
|
||||||
let lines = map(split(system(printf(
|
let lines = map(split(system(printf(
|
||||||
\ 'ctags -f - --sort=no --excmd=number --language-force=%s %s',
|
\ 'ctags -f - --sort=no --excmd=number %s',
|
||||||
\ &filetype, expand('%:S'))), "\n"), 'split(v:val, "\t")')
|
\ expand('%:S'))), "\n"), 'split(v:val, "\t")')
|
||||||
if v:shell_error
|
if v:shell_error
|
||||||
throw 'Failed to extract tags'
|
throw 'Failed to extract tags'
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user