File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,19 @@ module Neovim.API.THSpecFunctions
44import qualified Data.Map as Map
55import Neovim
66
7- testFunction0 :: Neovim' Int
7+ testFunction0 :: Neovim env Int
88testFunction0 = return 42
99
10- testFunction2 :: CommandArguments -> String -> [String ] -> Neovim' Double
10+ testFunction2 :: CommandArguments -> String -> [String ] -> Neovim env Double
1111testFunction2 _ _ _ = return 2
1212
13- testFunctionMap :: Map. Map String Int -> String -> Neovim' (Maybe Int )
13+ testFunctionMap :: Map. Map String Int -> String -> Neovim env (Maybe Int )
1414testFunctionMap m k = return $ Map. lookup k m
1515
1616testSucc :: Int -> Neovim env Int
1717testSucc = return . succ
1818
19- testCommandOptArgument :: CommandArguments -> Maybe String -> Neovim' String
19+ testCommandOptArgument :: CommandArguments -> Maybe String -> Neovim env String
2020testCommandOptArgument _ ms = case ms of
2121 Just x -> return x
2222 Nothing -> return " default"
You can’t perform that action at this time.
0 commit comments