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

Add ocaml.server.duneDiagnostics to disable dune diagnostics reporting #1320

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

EduardoRFS
Copy link
Contributor

Context

I would like to disable dune diagnostics as mentioned in
ocaml/ocaml-lsp#1221

This also shines light in a bug, currently "vscode-ocaml-platform" doesn't push the configs when starting the server, making so that the config is only pushed when you change them. I will fix this in a future PR.

Related

@EduardoRFS
Copy link
Contributor Author

This patch will need some changes after #1321 but it also requires the LSP change, so I will be waiting to work on it again.

@smorimoto smorimoto added type: feature New feature or request ocamllsp labels Jan 5, 2024
@smorimoto
Copy link
Collaborator

@EduardoRFS Could you add a change log entry when you rebase this? 🙏

@EduardoRFS
Copy link
Contributor Author

@smorimoto done, it would be great if we could get this merged and a release

@smorimoto
Copy link
Collaborator

Looks good to me. I guess we also need their review.

@rgrinberg rgrinberg merged commit b9a8764 into ocamllabs:master Jan 7, 2024
7 checks passed
@rgrinberg
Copy link
Contributor

LGTM. Corresponding lsp PR is here ocaml/ocaml-lsp#1221

@smorimoto smorimoto mentioned this pull request Jan 7, 2024
@EduardoRFS EduardoRFS deleted the no-dune branch January 7, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ocamllsp type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants