diff options
| author | sigmaSd <bedisnbiba@gmail.com> | 2022-07-14 08:43:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-14 00:43:22 -0700 |
| commit | 0da8c129dc27e70770c3247c44988bbf0af6b1af (patch) | |
| tree | dad3f862eb4f2e978a534c9d8d35f711af3cd156 /lua/lspconfig/server_configurations/rescriptls.lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-0da8c129dc27e70770c3247c44988bbf0af6b1af.tar nvim-lspconfig-0da8c129dc27e70770c3247c44988bbf0af6b1af.tar.gz nvim-lspconfig-0da8c129dc27e70770c3247c44988bbf0af6b1af.tar.bz2 nvim-lspconfig-0da8c129dc27e70770c3247c44988bbf0af6b1af.tar.lz nvim-lspconfig-0da8c129dc27e70770c3247c44988bbf0af6b1af.tar.xz nvim-lspconfig-0da8c129dc27e70770c3247c44988bbf0af6b1af.tar.zst nvim-lspconfig-0da8c129dc27e70770c3247c44988bbf0af6b1af.zip | |
fix(denols): ignore virtual text error #1995
If you open a file and immediately try to go to definition this error happens:
```
{["error"]={["message"]="Method not found: deno/virtualTextDocument",["code"]="-32601"}}
{["error"]={["message"]="Method not found: deno/virtualTextDocument",["code"]="-32601"}}
{["error"]={["code"]="-32601",["message"]="Method not found: deno/virtualTextDocument"}}
{["error"]={["code"]="-32601",["message"]="Method not found: deno/virtualTextDocument"}}
```
Seems to be a race condition where the virtual text handling is not ready yet.
Because this error is unhelpful and the gotodefinition works normally after
a couple of seconds, just ignore it.
Diffstat (limited to 'lua/lspconfig/server_configurations/rescriptls.lua')
0 files changed, 0 insertions, 0 deletions
