Skip to content

Commit

Permalink
had to limit lsp version
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Baimetov committed Nov 7, 2024
1 parent 16085e9 commit 603caa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/StaticLS/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 $
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion static-ls.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 603caa0

Please sign in to comment.