🐛 fix(core): enable syntax diagnostics

This commit is contained in:
csh
2026-07-14 12:09:17 +08:00
parent e122abc305
commit bb44bd1e32
4 changed files with 55 additions and 169 deletions
@@ -9,6 +9,7 @@ import lsp.codec.facade;
import lsp.core.server;
import lsp.protocol;
import lsp.provider.base.interface;
import lsp.provider.text_document.did_open;
export namespace lsp::test::provider
{
@@ -121,6 +122,8 @@ namespace lsp::test::provider
dispatcher.RegisterRequestProvider(std::make_shared<FixtureInitialize>());
dispatcher.RegisterRequestProvider(std::make_shared<FixtureBlock>());
dispatcher.RegisterRequestProvider(std::make_shared<FixtureThrow>());
dispatcher.RegisterNotificationProvider(
std::make_shared<::lsp::provider::text_document::DidOpen>());
dispatcher.RegisterNotificationProvider(
std::make_shared<FixtureThrowNotification>());
},