Renaming a symbol via lsp.buf.rename causes the symbol to be renamed - but the affected buffers are not opened. So I have to manually open them and save them.
I am sure this is a bug with my setup, as everywhere online suggests this works as expected with even just basic tsserver
Renaming a symbol via
lsp.buf.rename
causes the symbol to be renamed - but the affected buffers are not opened. So I have to manually open them and save them.I am sure this is a bug with my setup, as everywhere online suggests this works as expected with even just basic
tsserver
Reproduction
With this keymap set
And the following Typescript files
foo.ts
baz.ts
If I hover over
foo
and pressgr
ie. runlsp.buf.rename()
and typehello
And now I run
:ls
I can only seefoo.ts
in hereBut if i open baz.ts, i can see it has renamed the symbol- (it just doesnt open the buffer for me)
Expected result
I should see
foo.ts
andbaz.ts
in hereI'm nearly certain this is not an issue with your plugin, as this happens even with my vanilla tsserver setup
Here is my packer.lua
And my lsp setup
Thanks for the great plugin btw! Any advice/help is appreciated - thank you