yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
447 stars 43 forks source link

ProcessServerCaps: type mismatch, expected dict<any> but got special #487

Open lithammer opened 4 months ago

lithammer commented 4 months ago

Using nimlangserver I get the following error:

Error detected while processing function <SNR>132_AsyncRpcCb[20]..<SNR>132_ServerInitReply[16]..l
sp#capabilities#ProcessServerCaps:
line  223:
E1013: Argument 1: type mismatch, expected dict<any> but got special
g:LspAddServer([
  {
    name: 'nimlangserver',
    path: 'nimlangserver',
    args: [],
    filetype: ['nim'],
    syncInit: true,
    workspaceConfig: {}
  }
])