diff options
author | Ilia Choly <ilia.choly@gmail.com> | 2024-05-27 11:06:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 17:06:03 +0200 |
commit | 292365fa1b8f543ffa2240bb30af34051ad2d7c8 (patch) | |
tree | e46024972c6c26dadfad277507c4b40a38cd1636 /runtime/lua/vim/lsp/util.lua | |
parent | 8893b7b340e012b714cc42f0562f37405be32d51 (diff) | |
download | rneovim-292365fa1b8f543ffa2240bb30af34051ad2d7c8.tar.gz rneovim-292365fa1b8f543ffa2240bb30af34051ad2d7c8.tar.bz2 rneovim-292365fa1b8f543ffa2240bb30af34051ad2d7c8.zip |
fix(lsp): do not detach from buffer if there are uninitialized clients (#29029)
Problem: if on_lines is called before the LSP is initialized, the buffer
is detached.
Solution: check for uninitialized clients before detaching.
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions