Vim filetype detection and syntax highlighting for Haskell-related filetypes that do not have them configured out-of-the-box.
Filetype detection for the following files:
cabal.projectandcabal.project.localas filetypecabal-projectcabal.configand*/cabal/configas filetypecabal-config- GHC package environment files as filetype
ghc-env
Basic syntax highlighting for the following filetypes:
cabal-projectcabal-configghc-env
The single quote ' is added to 'iskeyword' for the following filetypes:
haskell
The hypen - is added to 'iskeyword' for the following filetypes:
cabalcabal-projectcabal-configghc-env
'iskeyword' affects the behaviour of commands like normal mode w. See :h 'iskeyword'.
:h new-filetype.:h ftdetect.:h iskeyword- Can I disable continuation of comments to the next line in Vim?
:h comments:h formatoptions:h fo-table- Attack of the 5,000-line vimrc