diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-01-06 20:54:52 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-01-06 20:54:52 +0100 |
commit | 5c73622a9066182ee4479fd7b3aa86e1825808c3 (patch) | |
tree | c92ed672cbb989fa3585387ebd4598f5bdfcc637 /runtime/syntax/haskell.vim | |
parent | 8f3f58f2c361f1b7241128d9821f88d8a30aa066 (diff) | |
download | vim-git-5c73622a9066182ee4479fd7b3aa86e1825808c3.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/syntax/haskell.vim')
-rw-r--r-- | runtime/syntax/haskell.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/syntax/haskell.vim b/runtime/syntax/haskell.vim index 21fcf81f5..8afca048c 100644 --- a/runtime/syntax/haskell.vim +++ b/runtime/syntax/haskell.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Haskell " Maintainer: Haskell Cafe mailinglist <haskell-cafe@haskell.org> -" Last Change: 2004 Feb 23 +" Last Change: 2008 Dec 15 " Original Author: John Williams <jrw@pobox.com> " " Thanks to Ryan Crumley for suggestions and John Meacham for @@ -30,6 +30,7 @@ " in eol comment character class " 2004 Feb 23: Made the leading comments somewhat clearer where it comes " to attribution of work. +" 2008 Dec 15: Added comments as contained element in import statements " Remove any old syntax stuff hanging around if version < 600 @@ -67,7 +68,7 @@ syn match hsFloat "\<[0-9]\+\.[0-9]\+\([eE][-+]\=[0-9]\+\)\=\>" " because otherwise they would match as keywords at the start of a " "literate" comment (see lhs.vim). syn match hsModule "\<module\>" -syn match hsImport "\<import\>.*"he=s+6 contains=hsImportMod +syn match hsImport "\<import\>.*"he=s+6 contains=hsImportMod,hsLineComment,hsBlockComment syn match hsImportMod contained "\<\(as\|qualified\|hiding\)\>" syn match hsInfix "\<\(infix\|infixl\|infixr\)\>" syn match hsStructure "\<\(class\|data\|deriving\|instance\|default\|where\)\>" |