mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 13:34:46 +08:00
#3266 - Catch echo visual selection errors
This commit is contained in:
@@ -39,6 +39,8 @@ function! ale#cursor#TruncatedEcho(original_message) abort
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
exec 'echomsg l:message'
|
exec 'echomsg l:message'
|
||||||
|
catch /E481/
|
||||||
|
" Do nothing if running from a visual selection.
|
||||||
endtry
|
endtry
|
||||||
|
|
||||||
" Reset the cursor position if we moved off the end of the line.
|
" Reset the cursor position if we moved off the end of the line.
|
||||||
|
|||||||
Reference in New Issue
Block a user