Skip to content

Commit 95593b6

Browse files
authored
Merge pull request #86 from wilhelmtell/hotfix/remove_prompt
remove 'hit enter to continue' prompt
2 parents e73d5bc + 6689281 commit 95593b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoload/clang_format.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ function! s:system(str, ...) abort
2828
let input = a:0 >= 1 ? a:1 : ''
2929

3030
if a:0 == 0 || a:1 ==# ''
31-
let output = s:has_vimproc() ?
31+
silent let output = s:has_vimproc() ?
3232
\ vimproc#system(command) : system(command)
3333
elseif a:0 == 1
34-
let output = s:has_vimproc() ?
34+
silent let output = s:has_vimproc() ?
3535
\ vimproc#system(command, input) : system(command, input)
3636
else
3737
" ignores 3rd argument unless you have vimproc.
38-
let output = s:has_vimproc() ?
38+
silent let output = s:has_vimproc() ?
3939
\ vimproc#system(command, input, a:2) : system(command, input)
4040
endif
4141

0 commit comments

Comments
 (0)