]> Sergey Matveev's repositories - vim-lsp.git/commit
Remove E1013 error when lsp sends kind=null
authorGirish Palya <girishji@gmail.com>
Wed, 20 Dec 2023 13:08:01 +0000 (14:08 +0100)
committerGirish Palya <girishji@gmail.com>
Wed, 20 Dec 2023 13:08:01 +0000 (14:08 +0100)
commit056811729c0395298d936bdaa43d5ba212f79334
tree63c4128ebea1a1ae166a27bf0b54c8d4ced3f904
parentf05e6b19d33b98f53309952c428b5c78fe201260
Remove E1013 error when lsp sends kind=null
This is what pyslp sent:
{'label': '''H''', 'data': {'doc_uri': 'file:///...py'},
 'sortText': 'a''H''', 'kind': null, 'insertText': '''H'''}
'kind' property need to be checked for null before
attempting completion.

M  autoload/lsp/completion.vim
autoload/lsp/completion.vim