diff options
author | francisco souza <108725+fsouza@users.noreply.github.com> | 2020-11-07 14:31:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 23:31:55 +0100 |
commit | 5161ff88fa6b7464fc9554b5d456bd08e3644ace (patch) | |
tree | b6115ed9e130496ccea93ca5facf806a073704de /runtime/lua/vim/treesitter/query.lua | |
parent | df750e7248a38b18a49546d38e3a4777ad90b520 (diff) | |
download | rneovim-5161ff88fa6b7464fc9554b5d456bd08e3644ace.tar.gz rneovim-5161ff88fa6b7464fc9554b5d456bd08e3644ace.tar.bz2 rneovim-5161ff88fa6b7464fc9554b5d456bd08e3644ace.zip |
lsp: fix formatting_sync with multiple clients (#13233)
buf_request_sync returns a table indexed by the client id, so when
starting a second client on a separate buffer, result[1] will be nil.
Closes #13232.
Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
0 files changed, 0 insertions, 0 deletions