Skip to content

danidiaz/vim-haskell-pica-filetypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-haskell-pica-filetypes

Vim filetype detection and syntax highlighting for Haskell-related filetypes that do not have them configured out-of-the-box.

filetype detection

Filetype detection for the following files:

  • cabal.project and cabal.project.local as filetype cabal-project
  • cabal.config and */cabal/config as filetype cabal-config
  • GHC package environment files as filetype ghc-env

syntax highlighting

Basic syntax highlighting for the following filetypes:

  • cabal-project
  • cabal-config
  • ghc-env

changes to 'iskeyword'

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'.

stuff I found useful while writing this plugin