dhall-lsp-server 1.0.10 → 1.0.11
raw patch · 3 files changed
+12/−9 lines, 3 filesdep ~dhalldep ~haskell-lspdep ~haskell-lsp-typesPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: dhall, haskell-lsp, haskell-lsp-types
API changes (from Hackage documentation)
Files
- app/Main.hs +3/−2
- dhall-lsp-server.cabal +4/−4
- src/Dhall/LSP/Handlers.hs +5/−3
app/Main.hs view
@@ -32,8 +32,9 @@ Options <$> parseMode <*> Options.Applicative.optional parseLogFile <*> parseVersion where parseLogFile = Options.Applicative.strOption- (Options.Applicative.long "log" <> Options.Applicative.help- "If present writes debug output to the specified file"+ ( Options.Applicative.long "log"+ <> Options.Applicative.help "If present writes debug output to the specified file"+ <> Options.Applicative.action "file" ) parseVersion = Options.Applicative.switch
dhall-lsp-server.cabal view
@@ -1,5 +1,5 @@ name: dhall-lsp-server-Version: 1.0.10+Version: 1.0.11 cabal-version: 1.12 synopsis: Language Server Protocol (LSP) server for Dhall homepage: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme@@ -50,10 +50,10 @@ , containers >= 0.5.11.0 && < 0.7 , data-default >= 0.7.1.1 && < 0.8 , directory >= 1.2.2.0 && < 1.4- , dhall >= 1.35.0 && < 1.36+ , dhall >= 1.35.0 && < 1.37 , dhall-json >= 1.4 && < 1.8 , filepath >= 1.4.2 && < 1.5- , haskell-lsp >= 0.19.0.0 && < 0.23+ , haskell-lsp >= 0.19.0.0 && < 0.24 , rope-utf16-splay >= 0.3.1.0 && < 0.4 , hslogger >= 1.2.10 && < 1.4 , lens >= 4.16.1 && < 4.20@@ -105,7 +105,7 @@ GHC-Options: -Wall Build-Depends: base ,- haskell-lsp-types >= 0.19.0 && < 0.23 ,+ haskell-lsp-types >= 0.19.0 && < 0.24 , lsp-test >= 0.9 && < 0.12 , tasty >= 0.11.2 && < 1.4 , tasty-hspec >= 1.1 && < 1.2 ,
src/Dhall/LSP/Handlers.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} module Dhall.LSP.Handlers where@@ -236,8 +237,7 @@ documentLinkHandler req = do let uri = req ^. J.params . J.textDocument . J.uri path <- case J.uriToFilePath uri of- Nothing -> throwE (Log, "Could not process document links; failed to convert\- \ URI to file path.")+ Nothing -> throwE (Log, "Could not process document links; failed to convert URI to file path.") Just p -> return p txt <- readUri uri expr <- case parse txt of@@ -564,7 +564,9 @@ where _label = completeText _kind = Nothing- _tags = J.List []+#if MIN_VERSION_haskell_lsp(0,21,0)+ _tags = mempty+#endif _detail = fmap pretty completeType _documentation = Nothing _deprecated = Nothing