summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-08 11:41:23 +0100
committerw0rp <devw0rp@gmail.com>2019-04-08 11:41:23 +0100
commit6d14dc0ac038ab12870fb5d98ff3f569332086bc (patch)
tree0c12e5927bbc0dd086f8e33a9cd099d20bd34c72 /autoload
parent02af53b8b0a9a47c4e66e52747d98ee74bbb8118 (diff)
downloadale-6d14dc0ac038ab12870fb5d98ff3f569332086bc.zip
#2417 - Silence errors for shortmess+=T
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/cursor.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/cursor.vim b/autoload/ale/cursor.vim
index eea8ffe6..8c331c5c 100644
--- a/autoload/ale/cursor.vim
+++ b/autoload/ale/cursor.vim
@@ -25,7 +25,7 @@ function! ale#cursor#TruncatedEcho(original_message) abort
let l:cursor_position = getpos('.')
" The message is truncated and saved to the history.
- setlocal shortmess+=T
+ silent! setlocal shortmess+=T
try
exec "norm! :echomsg l:message\n"