diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2022-08-01 22:32:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 22:32:53 +0200 |
commit | e99de3f12f00662e8131fed9912792f6d43c4975 (patch) | |
tree | 45b75fa49f1dc134d6cf84f69a66c25a425d7fba /runtime/lua/vim/keymap.lua | |
parent | 711ef4eac9e5126d37dd4acd1384b7df372d7315 (diff) | |
download | rneovim-e99de3f12f00662e8131fed9912792f6d43c4975.tar.gz rneovim-e99de3f12f00662e8131fed9912792f6d43c4975.tar.bz2 rneovim-e99de3f12f00662e8131fed9912792f6d43c4975.zip |
fix(lsp): send didOpen if name changes on write (#19583)
`:saveas newName` changes the name of an existing buffer.
Due to the buffer re-use it skips the lsp attach phase and immediately
sends a `didSave` notification to the server.
Servers get confused about this, because they expect a `didOpen`
notification first.
Closes https://github.com/neovim/neovim/issues/18688
Diffstat (limited to 'runtime/lua/vim/keymap.lua')
0 files changed, 0 insertions, 0 deletions