nvim-hs-contrib 2.0.0.0 → 2.0.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
library/Neovim/User/Input.hs view
@@ -27,7 +27,7 @@ -> Maybe String -- ^ Completion mode -> Neovim env result input message mPrefilled mCompletion = fmap fromObjectUnsafe- . vim_call_function "input" $ (message <> " ")+ $ vim_call_function "input" $ (message <> " ") +: maybe "" id mPrefilled +: maybe [] (+: []) mCompletion @@ -41,7 +41,7 @@ askForDirectory message mPrefilled = do fp <- input message mPrefilled (Just "dir") - efp <- fmap fromObjectUnsafe . vim_call_function "expand" $ (fp :: FilePath) +: []+ efp <- fmap fromObjectUnsafe $ vim_call_function "expand" $ (fp :: FilePath) +: [] whenM (not <$> liftIO (doesDirectoryExist efp)) $ whenM (yesOrNo (efp ++ " does not exist, create it?")) $
nvim-hs-contrib.cabal view
@@ -1,5 +1,5 @@ name: nvim-hs-contrib-version: 2.0.0.0+version: 2.0.0.1 synopsis: Haskell plugin backend for neovim description: Library for nvim-hs.