packages feed

hls-module-name-plugin 1.0.0.0 → 1.0.0.1

raw patch · 2 files changed

+7/−4 lines, 2 filesdep ~hls-plugin-apidep ~hls-test-utilsnew-uploaderPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: 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:            1.0.0.0+version:            1.0.0.1 synopsis:           Module name plugin for Haskell Language Server description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -26,7 +26,7 @@     , directory     , filepath     , ghcide                >=1.2  && <1.5-    , hls-plugin-api        ^>=1.1+    , hls-plugin-api        >=1.1  && <1.3     , lsp     , text     , transformers@@ -44,4 +44,4 @@     , base     , filepath     , hls-module-name-plugin-    , hls-test-utils          ^>=1.0+    , hls-test-utils          >=1.0 && <1.2
src/Ide/Plugin/ModuleName.hs view
@@ -36,7 +36,10 @@                                              pm_parsed_source, unLoc) import           Ide.Types import           Language.LSP.Server-import           Language.LSP.Types+import           Language.LSP.Types         hiding+                                            (SemanticTokenAbsolute (length, line),+                                             SemanticTokenRelative (length),+                                             SemanticTokensEdit (_start)) import           Language.LSP.VFS           (virtualFileText) import           System.Directory           (canonicalizePath) import           System.FilePath            (dropExtension, splitDirectories,