From 977500018992b106e70320712874e1043a50c5f5 Mon Sep 17 00:00:00 2001 From: raichoo Date: Wed, 18 Jun 2014 09:29:57 +0200 Subject: [PATCH] added family to keywords --- syntax/haskell.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/haskell.vim b/syntax/haskell.vim index f247808..4469de7 100644 --- a/syntax/haskell.vim +++ b/syntax/haskell.vim @@ -15,7 +15,7 @@ endif syn match haskellModule "\" syn match haskellImport "\<\(import\|hiding\)\>" syn region haskellQualifiedImport start="\s*\\s\+\" contains=haskellType,haskellDot end="\" -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]\+\>"