Missing dependency of @codemirror/lsp-client

Hi!

First of all, thank you for the great project!

When using @codemirror/lsp-client, the diagnostics.ts file requires @codemirror/lint to be installed at compile-time:

import {setDiagnostics} from "@codemirror/lint"

Repo link

However, it’s not in the package.json file of the repo, causing the bundler to get confused if it’s strict about deps.

Should I make a PR adding it as a dependency?

Thanks!

Indeed, I forgot to declare that dependency! Thanks for spotting that. This patch adds it.

Thank you for the quick response and fix! This resolved my issue.