mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-04 15:52:08 +03:00
Add CodeLens support to the fake LanguageServer (#1673)
This commit is contained in:
parent
d6c55d6749
commit
18df605494
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user