packages feed

hls-code-range-plugin 2.5.0.0 → 2.6.0.0

raw patch · 2 files changed

+6/−6 lines, 2 filesdep ~ghcidedep ~hls-plugin-apidep ~hls-test-utilsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ghcide, hls-plugin-api, hls-test-utils

API changes (from Hackage documentation)

Files

hls-code-range-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-code-range-plugin-version:            2.5.0.0+version:            2.6.0.0 synopsis:   HLS Plugin to support smart selection range and Folding range @@ -37,9 +37,9 @@     , containers     , deepseq     , extra-    , ghcide           == 2.5.0.0+    , ghcide           == 2.6.0.0     , hashable-    , hls-plugin-api   == 2.5.0.0+    , hls-plugin-api   == 2.6.0.0     , lens     , lsp     , mtl@@ -62,10 +62,10 @@     , bytestring     , containers     , filepath-    , ghcide                     == 2.5.0.0+    , ghcide                     == 2.6.0.0     , hls-code-range-plugin     , hls-plugin-api-    , hls-test-utils             == 2.5.0.0+    , hls-test-utils             == 2.6.0.0     , lens     , lsp     , lsp-test
src/Ide/Plugin/CodeRange.hs view
@@ -57,7 +57,7 @@ import           Prelude                              hiding (log, span)  descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState-descriptor recorder plId = (defaultPluginDescriptor plId)+descriptor recorder plId = (defaultPluginDescriptor plId "Provides selection and folding ranges for Haskell")     { pluginHandlers = mkPluginHandler SMethod_TextDocumentSelectionRange (selectionRangeHandler recorder)     <> mkPluginHandler SMethod_TextDocumentFoldingRange (foldingRangeHandler recorder)     , pluginRules = codeRangeRule (cmapWithPrio LogRules recorder)