]> Sergey Matveev's repositories - vim-lsp.git/commit
Unify completepopup settings
authorMagnus Groß <magnus@mggross.com>
Wed, 31 May 2023 22:51:38 +0000 (00:51 +0200)
committerMagnus Groß <magnus@mggross.com>
Wed, 31 May 2023 23:03:01 +0000 (01:03 +0200)
commitd6111e464e416bcbd0e3f145bbad599e2d5a62a3
tree899fb4dcd32a9a85e9269967409b3340bf302ee9
parent352cb4a446d4a0eb1072202a4ff2dde861128c01
Unify completepopup settings

There is not really a reason to have different completepopup settings
depending on if the LSP server supports lazy documentation or not:

In both cases info may be displayed, the only difference being that with
"resolveProvider" the info is to be fetched on demand.
But for both scenarios the formatting of the info popup should be the
same.

This fixes a problem, where in the non-lazydoc branch the info popup is
colored with the PmenuSel highlight group, which is a little bit ugly
when the content is syntax highlighted as well.
autoload/lsp/completion.vim