mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-07 05:04:30 +08:00
Redirect STDERR of ctags to /dev/null (#252)
This commit is contained in:
committed by
Junegunn Choi
parent
9ce2c2179f
commit
28a1835ce4
@@ -692,8 +692,8 @@ endfunction
|
|||||||
function! fzf#vim#buffer_tags(query, ...)
|
function! fzf#vim#buffer_tags(query, ...)
|
||||||
let args = copy(a:000)
|
let args = copy(a:000)
|
||||||
let tag_cmds = len(args) > 1 ? remove(args, 0) : [
|
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 --language-force=%s %s 2>/dev/null', &filetype, expand('%:S')),
|
||||||
\ printf('ctags -f - --sort=no --excmd=number %s', expand('%:S'))]
|
\ printf('ctags -f - --sort=no --excmd=number %s 2>/dev/null', expand('%:S'))]
|
||||||
try
|
try
|
||||||
return s:fzf('btags', {
|
return s:fzf('btags', {
|
||||||
\ 'source': s:btags_source(tag_cmds),
|
\ 'source': s:btags_source(tag_cmds),
|
||||||
|
|||||||
Reference in New Issue
Block a user