#3266 - Catch echo visual selection errors

This commit is contained in:
w0rp 2020-08-27 13:57:14 +01:00
parent 5d3d33626c
commit 719f3c62b0
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ function! ale#cursor#TruncatedEcho(original_message) abort
endif
exec 'echomsg l:message'
catch /E481/
" Do nothing if running from a visual selection.
endtry
" Reset the cursor position if we moved off the end of the line.