]> Sergey Matveev's repositories - vim-lsp.git/commit
API to find out if LSP server has replied
authorGirish Palya <girishji@gmail.com>
Wed, 19 Jul 2023 00:22:16 +0000 (02:22 +0200)
committerGirish Palya <girishji@gmail.com>
Wed, 19 Jul 2023 00:22:16 +0000 (02:22 +0200)
commit058c8e76908029a3ff5bcc465870b62f13863b49
tree15ca7a5c8275ab1a5b7e95cff031f479d7f4aaee
parent3e2ca55604070bf13ddebb9dbaa2935b6cbe86d2
API to find out if LSP server has replied

Add a function to find out if LSP server has replied with completion
matches. This is needed in case of using external completion engines
that expect asynchronous callback. LSP client simply acts as a source
of completion items through omnifunc (g:LspOmniFunc). Before calling
the omnifunc the second time g:LspOmniCompletePending can be checked
to see if LSP server is ready to provide completion items.

M  autoload/lsp/completion.vim
M  doc/lsp.txt
autoload/lsp/completion.vim
doc/lsp.txt