hls-pragmas-plugin 2.5.0.0 → 2.6.0.0
raw patch · 2 files changed
+7/−7 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-pragmas-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-pragmas-plugin-version: 2.5.0.0+version: 2.6.0.0 synopsis: Pragmas plugin for Haskell Language Server description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -29,8 +29,8 @@ , extra , fuzzy , ghc- , ghcide == 2.5.0.0- , hls-plugin-api == 2.5.0.0+ , ghcide == 2.6.0.0+ , hls-plugin-api == 2.6.0.0 , lens , lsp , text@@ -51,7 +51,7 @@ , base , filepath , hls-pragmas-plugin- , hls-test-utils == 2.5.0.0+ , hls-test-utils == 2.6.0.0 , lens , lsp-types , text
src/Ide/Plugin/Pragmas.hs view
@@ -43,19 +43,19 @@ -- --------------------------------------------------------------------- suggestPragmaDescriptor :: PluginId -> PluginDescriptor IdeState-suggestPragmaDescriptor plId = (defaultPluginDescriptor plId)+suggestPragmaDescriptor plId = (defaultPluginDescriptor plId "Provides a code action to add missing LANGUAGE pragmas") { pluginHandlers = mkPluginHandler LSP.SMethod_TextDocumentCodeAction suggestPragmaProvider , pluginPriority = defaultPluginPriority + 1000 } completionDescriptor :: PluginId -> PluginDescriptor IdeState-completionDescriptor plId = (defaultPluginDescriptor plId)+completionDescriptor plId = (defaultPluginDescriptor plId "Provides completion of LANGAUGE pragmas") { pluginHandlers = mkPluginHandler LSP.SMethod_TextDocumentCompletion completion , pluginPriority = ghcideCompletionsPluginPriority + 1 } suggestDisableWarningDescriptor :: PluginId -> PluginDescriptor IdeState-suggestDisableWarningDescriptor plId = (defaultPluginDescriptor plId)+suggestDisableWarningDescriptor plId = (defaultPluginDescriptor plId "Provides a code action to disable warnings") { pluginHandlers = mkPluginHandler LSP.SMethod_TextDocumentCodeAction suggestDisableWarningProvider -- #3636 Suggestions to disable warnings should appear last. , pluginPriority = 0