added family to keywords

This commit is contained in:
raichoo 2014-06-18 09:29:57 +02:00
parent b50bde4524
commit 9775000189

View file

@ -15,7 +15,7 @@ endif
syn match haskellModule "\<module\>"
syn match haskellImport "\<\(import\|hiding\)\>"
syn region haskellQualifiedImport start="\s*\<import\>\s\+\<qualified\>" contains=haskellType,haskellDot end="\<as\>"
syn match haskellStructure "\<\(class\|data\|instance\|where\|type\|newtype\)\>"
syn match haskellStructure "\<\(class\|data\|instance\|where\|type\|newtype\|family\)\>"
syn match haskellStatement "\<\(do\|case\|of\|let\|in\)\>"
syn match haskellConditional "\<\(if\|then\|else\)\>"
syn match haskellNumber "\<[0-9]\+\>\|\<0[xX][0-9a-fA-F]\+\>\|\<0[oO][0-7]\+\>"