Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No diagnostic with neoclide/coc #71

Closed
Clonkk opened this issue Feb 4, 2021 · 1 comment
Closed

No diagnostic with neoclide/coc #71

Clonkk opened this issue Feb 4, 2021 · 1 comment

Comments

@Clonkk
Copy link

Clonkk commented Feb 4, 2021

neoclide/coc doesn't display any diagnostic when used with Nim (works with others language). I've setup a json settings as such :

  "languageserver": {
    "nim": {
      "command": "nimlsp",
      "filetypes": ["nim"],
      "trace.server": "verbose"
    }
  }

It seems related to this issue : neoclide/coc.nvim#1766

@PMunch
Copy link
Owner

PMunch commented Mar 8, 2021

This has been a known issue for a while. Basically it is caused by CoC sending fields that are not defined in the LSP specification, and NimLSP being very strict about following the spec. This was attempted fixed earlier but caused a different issue. But now I have deployed a better fix that should make everything work.

But shame on CoC and other clients who break the spec!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants