diff --git a/src/StaticLS/Server.hs b/src/StaticLS/Server.hs index bd8983e..bb7f697 100644 --- a/src/StaticLS/Server.hs +++ b/src/StaticLS/Server.hs @@ -196,7 +196,7 @@ serverDef argOptions logger = do , configSection = "" , parseConfig = \_conf _value -> Right () , doInitialize = do - initServer reactorChan argOptions logger + initServer reactorChan argOptions logger , -- TODO: Do handlers need to inspect clientCapabilities? staticHandlers = \_clientCapabilities -> mapHandlers goReq goNot $ @@ -223,9 +223,9 @@ serverDef argOptions logger = do , handleCompletion -- Disabled. Will enable in its own branch -- , handleInlayHintRequest - , -- Currently disabled until we support configuration for the formatter + -- Currently disabled until we support configuration for the formatter -- , handleFormat - handleCompletionItemResolve + , handleCompletionItemResolve ] , interpretHandler = \env -> Iso (LSP.runLspT env) liftIO , options = lspOptions diff --git a/static-ls.cabal b/static-ls.cabal index 2aa24e9..c97fe4c 100644 --- a/static-ls.cabal +++ b/static-ls.cabal @@ -70,7 +70,7 @@ library , haskell-lexer >=1.1.1 && <1.2.0 , hiedb ==0.6.* , lens - , lsp >=2.4.0.0 && <2.8.0.0 + , lsp >=2.4.0.0 && <2.7.0.0 , lsp-types >=2.1.0.0 && <2.4.0.0 , mtl >=2.2.2 && <2.4 , neat-interpolation