Add CodeLens support to the fake LanguageServer (#1673)

This commit is contained in:
Neil Mitchell 2019-06-14 17:24:24 +02:00 committed by mergify[bot]
parent d6c55d6749
commit 18df605494

View File

@ -59,6 +59,7 @@ handleRequest loggerH compilerH makeResponse makeErrorResponse = \case
Definition params -> RspDefinition . makeResponse <$> LS.Definition.handle loggerH compilerH params
Hover params -> RspHover . makeResponse <$> LS.Hover.handle loggerH compilerH params
CodeLens _params -> pure $ RspCodeLens $ makeResponse mempty
req -> do
Logger.logWarning loggerH ("Method not found" <> T.pack (show req))