You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I am getting the following error when trying to execute call phpactor#Status():
Error detected while processing function phpactor#Status[1]..phpactor#rpc:
line 6:
E121: Undefined variable: g:phpactorPhpBin
line 7:
E121: Undefined variable: cmd
E116: Invalid arguments for function system(cmd, json_encode(request))
Error detected while processing function phpactor#Status[1]..phpactor#rpc:
line 13:
E605: Exception not caught: Could not parse response from Phpactor: Vim(let):E121: Undefined variable: result
What should be done to fix this problem? Since there is a check if phpactor is loaded at the beginning of the php.vim script, maybe it could be always included in phpactor.vim.
The VIM plugin is slowly being refactored. It is now better to use the new commands e.g. :PhpactorStatus which will only be available after loading a PHP file.
Activity
dantleech commentedon Mar 22, 2020
The VIM plugin is slowly being refactored. It is now better to use the new commands e.g.
:PhpactorStatuswhich will only be available after loading a PHP file.dantleech commentedon Mar 22, 2020
I've updated the documentation in
developto indicate that the command should be used 2cfb349 let me know if that makes sense.Release 15 (#1003)