mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-14 21:42:46 +08:00
Suppress status-line output when executing shell
Failing to suppress output can cause problems in some environments, especially if the shell command fails or does something else spooky. Example where failing to suppress the shell command causes issues with [vim-airline](https://github.com/bling/vim-airline) with the tagbar extension enabled: ![](http://i.imgur.com/ciigs8C.png) Here's another example: ![](http://i.imgur.com/cl96sI8.png) Both were taken using uxterm in Linux.
This commit is contained in:
parent
c6b473f559
commit
40be9a2e5f
|
@ -3665,7 +3665,7 @@ function! s:ExecuteCtags(ctags_cmd) abort
|
|||
call s:debug(v:statusmsg)
|
||||
redraw!
|
||||
else
|
||||
let ctags_output = system(a:ctags_cmd)
|
||||
silent let ctags_output = system(a:ctags_cmd)
|
||||
endif
|
||||
|
||||
if &shell =~ 'cmd\.exe'
|
||||
|
|
Loading…
Reference in New Issue
Block a user