send clientInfo as part of InitializeParams (#971)

This commit is contained in:
Prabir Shrestha
2020-12-24 12:40:51 -08:00
committed by GitHub
parent 0c4e149ac5
commit 5d0648cbe4

View File

@@ -581,6 +581,7 @@ function! s:ensure_init(buf, server_name, cb) abort
\ 'method': 'initialize',
\ 'params': {
\ 'processId': getpid(),
\ 'clientInfo': { 'name': 'vim-lsp' },
\ 'capabilities': l:capabilities,
\ 'rootUri': l:root_uri,
\ 'rootPath': lsp#utils#uri_to_path(l:root_uri),