Support for the Haskell programming language in visual studio code.
Adds highlighting support for Haskell (.hs and .lhs). This is a (now heavily) modified version of the syntax file from the Haskell TextMate bundle. Additionally there is support for and Cabal files (.cabal) via a concoction of my own.
Also adds automatic indentation after where
, do
, ->
etc. and surrounding brackets ([]
, {}
etc)
![Screenshot Haskell](./images/Screenshot 1.png)
![Screenshot Cabal](./images/Screenshot Cabal 1.png)
Includes common Haskell code snippets, such as data
and newtype
declarations, main module, if
and case
.
If you happen to notice bugs or have suggestions for improvements visit the issue section of the repository.
Thanks to @Miguel-Fontes for enabling support for literate Haskell.