Skip to content

Commit

Permalink
fix(handler): match error code, not message
Browse files Browse the repository at this point in the history
See #96
  • Loading branch information
rcarriga committed Jan 20, 2022
1 parent ec70717 commit 858fd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ultest/handler.vim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function! s:Call(func, args) abort
if s:is_nvim
try
return call(a:func, a:args)
catch /.*Unknown function.*/
catch /.*E117.*/
" Send twice because first one isn't shown if triggered during startup
if s:update_warn_sent < 2
echom "Error: vim-ultest remote function not detected, try running :UpdateRemotePlugins on install/update"
Expand Down

0 comments on commit 858fd9c

Please sign in to comment.