aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2022-08-01 22:32:53 +0200
committerGitHub <noreply@github.com>2022-08-01 22:32:53 +0200
commite99de3f12f00662e8131fed9912792f6d43c4975 (patch)
tree45b75fa49f1dc134d6cf84f69a66c25a425d7fba /test/functional/lua/vim_spec.lua
parent711ef4eac9e5126d37dd4acd1384b7df372d7315 (diff)
downloadrneovim-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 'test/functional/lua/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions