vim-haskell-indent
vim-haskell-indent copied to clipboard
If the plugin does not work for some syntax, feel free to report to the issue tracker!
Recognise and trigger indentations for [multiway-lambda expressions](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0302-cases.rst). Example: ```haskell filter = \cases _ [] -> [] >>>>>>>>>>>>>>>>p (x:xs) | p x -> x : filter p xs | otherwise ->...
It is syntactically permitted to insert spaces between `\` and `case` in a lambda case expression e.g. `\ case x -> ...`. Fix pattern to match these. Might be too...
Add support for [MultiWayIf](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/multiway_if.html). Examples: ```haskell multi_if :: Int multi_if = if | e -> 1 >>>>>>>>>>>>>>| o -> 3 handle :: IOError -> IO () handle e = putStrLn...