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.project
andcabal.project.local
as filetypecabal-project
cabal.config
and*/cabal/config
as filetypecabal-config
- GHC package environment files as filetype
ghc-env
Basic syntax highlighting for the following filetypes:
cabal-project
cabal-config
ghc-env
The single quote '
is added to 'iskeyword'
for the following filetypes:
haskell
The hypen -
is added to 'iskeyword'
for the following filetypes:
cabal
cabal-project
cabal-config
ghc-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