diff --git a/lib/vimrunner/client.rb b/lib/vimrunner/client.rb
index <HASH>..<HASH> 100644
--- a/lib/vimrunner/client.rb
+++ b/lib/vimrunner/client.rb
@@ -190,7 +190,7 @@ module Vimrunner
     def command(commands)
       command = Command.new(commands)
       server.remote_expr("VimrunnerEvaluateCommandOutput('#{command}')").tap do |output|
-        raise InvalidCommandError.new(output) if output =~ /^Vim:E\d+:/
+        raise InvalidCommandError.new(output) if output =~ /^Vim(\(call\))?:E\d+:/
       end
     end
Fix bug with error reporting

Vim outputs a "Vim(call)" message now. Seems to be a recent-ish change.