diff options
author | francisco souza <108725+fsouza@users.noreply.github.com> | 2020-06-23 11:50:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 17:50:37 +0200 |
commit | 2f6d1d3c887a87d9402137425b418dd12a904aac (patch) | |
tree | c86854be831738fd2bb6468cd7a971eb33879960 /runtime/lua/vim/lsp/buf.lua | |
parent | 721f69c4af8bc81ba04088e7b56f8cdba653b418 (diff) | |
download | rneovim-2f6d1d3c887a87d9402137425b418dd12a904aac.tar.gz rneovim-2f6d1d3c887a87d9402137425b418dd12a904aac.tar.bz2 rneovim-2f6d1d3c887a87d9402137425b418dd12a904aac.zip |
lsp: when apply text edits, set buflisted on buffers (#12489)
The client creates buffers on the fly to be able to apply text edits on
files that weren't previously open, which is great, but it uses the
bufadd() function, which creates unlisted buffers and can lead to a
weird experience in the text editor. Setting the buffer to buflisted
fixes this.
Closes #12488.
Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions