Temporarily reset &modified when opening files
:edit and similar commands used by the --remote* options throw an exception if the buffer is modified: E37: No write since last change (add ! to override) Using :enew! doesn't work, since it reverts all changes. Thus we simply reset &modified temporarily. References https://github.com/mhinz/neovim-remote/issues/54remotes/origin/master
parent
3fc53ac12a
commit
6845b8b5a6
Loading…
Reference in New Issue