Redirect STDERR of ctags to /dev/null (#252)
This commit is contained in:
parent
9ce2c2179f
commit
28a1835ce4
1 changed files with 2 additions and 2 deletions
|
@ -692,8 +692,8 @@ endfunction
|
|||
function! fzf#vim#buffer_tags(query, ...)
|
||||
let args = copy(a:000)
|
||||
let tag_cmds = len(args) > 1 ? remove(args, 0) : [
|
||||
\ printf('ctags -f - --sort=no --excmd=number --language-force=%s %s', &filetype, expand('%:S')),
|
||||
\ printf('ctags -f - --sort=no --excmd=number %s', expand('%:S'))]
|
||||
\ printf('ctags -f - --sort=no --excmd=number --language-force=%s %s 2>/dev/null', &filetype, expand('%:S')),
|
||||
\ printf('ctags -f - --sort=no --excmd=number %s 2>/dev/null', expand('%:S'))]
|
||||
try
|
||||
return s:fzf('btags', {
|
||||
\ 'source': s:btags_source(tag_cmds),
|
||||
|
|
Loading…
Add table
Reference in a new issue