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
{{ message }}
Repository navigation
g(o)to_definition not working on unsaved file. #477
Error detected while processing function phpactor#ContextMenu[1]..phpactor#rpc[15]..phpactor#_rpc_dispatch[116]..phpactor#rpc[15]..phpactor#_rpc_dispatch[54]..phpactor#_switchToBufferOrEdit:
line 8:
E37: No write since last change (add ! to override)
Error detected while processing function phpactor#ContextMenu[1]..phpactor#rpc[15]..phpactor#_rpc_dispatch[116]..phpactor#rpc[15]..phpactor#_rpc_dispatch:
line 55:
E37: No write since last change (add ! to override)
Press ENTER or type command to continue
This happens when you edit a file but do not save it, then open the context menu and attempt to g(o)to_definition.
As soon as you save the file the error goes away.
Reproduced on
NVIM v0.2.2
Ubuntu 18.04
phpactor installed via vim-plug
Activity
[Vim Plugin] Goto reference in a modified file causes warning fixes #477
[Vim Plugin] Goto reference in a modified file causes warning fixes #477
[Vim Plugin] Goto reference in a modified file causes warning fixes #477
[Vim Plugin] Goto reference in a modified file causes warning fixes p…