Skip to content

Commit 038faed

Browse files
committed
Try to silence errors during startup caused by :redraw
See also: xolox/vim-easytags#69
1 parent 15fd181 commit 038faed

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ from the source code of the miscellaneous scripts using the Python module
3838
<!-- Start of generated documentation -->
3939

4040
The documentation of the 95 functions below was extracted from
41-
19 Vim scripts on October 28, 2014 at 02:06.
41+
19 Vim scripts on November 13, 2014 at 23:19.
4242

4343
### Asynchronous Vim script evaluation
4444

autoload/xolox/misc.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" The version of my miscellaneous scripts.
22
"
33
" Author: Peter Odding <[email protected]>
4-
" Last Change: October 28, 2014
4+
" Last Change: November 13, 2014
55
" URL: http://peterodding.com/code/vim/misc/
66

7-
let g:xolox#misc#version = '1.17'
7+
let g:xolox#misc#version = '1.17.1'

autoload/xolox/misc/msg.vim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Functions to interact with the user.
22
"
33
" Author: Peter Odding <[email protected]>
4-
" Last Change: June 2, 2013
4+
" Last Change: November 13, 2014
55
" URL: http://peterodding.com/code/vim/misc/
66

77
if !exists('g:xolox_message_buffer')
@@ -77,8 +77,9 @@ function! s:show_message(hlgroup, args) " {{{1
7777
autocmd! CursorHold,CursorHoldI * call s:clear_message()
7878
augroup END
7979
execute 'echohl' a:hlgroup
80-
" Redraw to avoid |hit-enter| prompt.
81-
redraw
80+
" Redraw to avoid the |hit-enter| prompt. We use :silent to avoid issues
81+
" like this one: https://github.com/xolox/vim-easytags/issues/69.
82+
silent! redraw
8283
for line in split(message, "\n")
8384
echomsg line
8485
endfor

doc/misc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ from the source code of the miscellaneous scripts using the Python module
170170
'vimdoctool.py' included in vim-tools [5].
171171

172172
The documentation of the 95 functions below was extracted from 19 Vim scripts
173-
on October 28, 2014 at 02:06.
173+
on November 13, 2014 at 23:19.
174174

175175
-------------------------------------------------------------------------------
176176
*misc-asynchronous-vim-script-evaluation*

0 commit comments

Comments
 (0)