From 719f3c62b0e6a5500deaee456f71596f44d7e779 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 27 Aug 2020 13:57:14 +0100 Subject: [PATCH] #3266 - Catch echo visual selection errors --- autoload/ale/cursor.vim | 2 ++ 1 file changed, 2 insertions(+) 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.