Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
API function for file system paths.
Synopsis
- nvimCwd :: Member Rpc r => Sem r (Path Abs Dir)
- nvimSetCwd :: Member Rpc r => Path Abs Dir -> Sem r ()
- nvimRelativePath :: Member Rpc r => SomeBase t -> Sem r (Path Abs t)
- parseNvimDir :: Member Rpc r => Text -> Sem r (Maybe (Path Abs Dir))
- parseNvimFile :: Member Rpc r => Text -> Sem r (Maybe (Path Abs File))
- nvimDir :: Members [Rpc, Stop Report] r => Text -> Sem r (Path Abs Dir)
- nvimFile :: Members [Rpc, Stop Report] r => Text -> Sem r (Path Abs File)
Documentation
nvimSetCwd :: Member Rpc r => Path Abs Dir -> Sem r () Source #
Set Neovim's current working directory.
nvimRelativePath :: Member Rpc r => SomeBase t -> Sem r (Path Abs t) Source #
Convert an abstract path to an absolute one, using Neovim's current working directory as the base for relative paths.
parseNvimDir :: Member Rpc r => Text -> Sem r (Maybe (Path Abs Dir)) Source #
Parse a directory path and prepend Neovim's current working directory to it if it's relative.
parseNvimFile :: Member Rpc r => Text -> Sem r (Maybe (Path Abs File)) Source #
Parse a file path and prepend Neovim's current working directory to it if it's relative.