hls-module-name-plugin 2.5.0.0 → 2.6.0.0
raw patch · 2 files changed
+5/−5 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-module-name-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-module-name-plugin-version: 2.5.0.0+version: 2.6.0.0 synopsis: Module name plugin for Haskell Language Server description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -32,8 +32,8 @@ , containers , directory , filepath- , ghcide == 2.5.0.0- , hls-plugin-api == 2.5.0.0+ , ghcide == 2.6.0.0+ , hls-plugin-api == 2.6.0.0 , lsp , text , transformers@@ -51,4 +51,4 @@ , base , filepath , hls-module-name-plugin- , hls-test-utils == 2.5.0.0+ , hls-test-utils == 2.6.0.0
src/Ide/Plugin/ModuleName.hs view
@@ -69,7 +69,7 @@ -- |Plugin descriptor descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState descriptor recorder plId =- (defaultPluginDescriptor plId)+ (defaultPluginDescriptor plId "Provides a code action to alter the module name if it is wrong") { pluginHandlers = mkPluginHandler SMethod_TextDocumentCodeLens (codeLens recorder) , pluginCommands = [PluginCommand updateModuleNameCommand "set name of module to match with file path" (command recorder)] }