diff options
author | w0rp <devw0rp@gmail.com> | 2020-08-27 13:57:14 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2020-08-27 13:57:20 +0100 |
commit | 719f3c62b0e6a5500deaee456f71596f44d7e779 (patch) | |
tree | b97fb73e538ecd7b0c5629bed67656994f97c01a /autoload | |
parent | 5d3d33626cfec083b7e5340df2186b6ed9610916 (diff) | |
download | ale-719f3c62b0e6a5500deaee456f71596f44d7e779.zip |
#3266 - Catch echo visual selection errors
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/cursor.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/cursor.vim b/autoload/ale/cursor.vim index 8c331c5c..9ca6fb15 100644 --- a/autoload/ale/cursor.vim +++ b/autoload/ale/cursor.vim @@ -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. |