yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
484 stars 56 forks source link

Remove E1013 error when lsp sends kind=null #426

Closed girishji closed 10 months ago

girishji commented 10 months ago

This is what pyslp sent: {'label': '''H''', 'data': {'doc_uri': 'file:///filename.py'},'sortText': 'a''H''', 'kind': null, 'insertText': '''H'''} 'kind' property need to be checked for null before attempting completion.

M autoload/lsp/completion.vim