sponsor Vim development Vim logo Vim Book Ad

syntax/haskell.vim : Haskell Syntax File

 script karma  Rating 138/52, Downloaded by 4756  Comments, bugs, improvements  Vim wiki

created by
Steffen Siering
 
script type
syntax
 
description
Improvement on the default vim haskell.vim syntax file:
- highlights all Types, not just built in ones
- highlights top level functions
- functions and types are highlighted properly in import/export lists
- repaired spell checking, thus only string and comments are spell checked
- FFI support
- QuasiQuotation support
- highlighting of top level Template Haskell slices

on github: http://github.com/urso/dotrc/blob/master/vim/syntax/haskell.vim
 
install details
Put haskell.vim in your syntax diretory (e.g. ~/.vim/syntax).
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
haskell.vim 1.4 2011-01-31 7.0 Steffen Siering - rewrite of highlighting for module declarations
- rewrite highlighting of import statements (with minimal error highlighting)
- added quasi quotation for ghc7
- added keyword "family" for type and data families
- fixed highlighting of functions using (pattern) guards
haskell.vim 1.3 2010-07-21 7.0 Steffen Siering - improved quasi quotation
- added Toplevel Template Haskell slices support
haskell.vim 1.2 2010-06-25 7.0 Steffen Siering added highlighting for:
- quasi quotation
- package imports
haskell.vim 1.1.1 2010-06-18 7.0 Steffen Siering fixed function declaration String arguments highlighting issues
haskell.vim 1.1 2010-05-08 7.0 Steffen Siering - improved module export list highlighting
- fixed module highlighting bugs
- added FFI highlighting
haskell.vim 1 2010-03-30 7.0 Steffen Siering Initial upload
ip used for rating: 3.138.114.38

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github