From 1fd2e0d3ce79cd5445fbdd80ca5bac8ed2937284 Mon Sep 17 00:00:00 2001 From: raichoo Date: Fri, 19 Sep 2014 21:54:35 +0200 Subject: [PATCH] fix regions --- syntax/haskell.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/haskell.vim b/syntax/haskell.vim index ed3a2fc..97fb1fa 100644 --- a/syntax/haskell.vim +++ b/syntax/haskell.vim @@ -43,8 +43,8 @@ syn region haskellBlockComment start="{-" end="-}" contains=haskellBlockComment, syn match haskellIdentifier "[_a-z][a-zA-z0-9_]*'*" contained syn match haskellType "[A-Z][a-zA-Z0-9_]*'*" syn match haskellTopLevelDecl "^\s*[_a-z][a-zA-z0-9_]*'*\s*::" contains=haskellIdentifier,haskellOperators -syn match haskellRecordField "[_a-z][a-zA-z0-9_]*'*\s*::" contains=haskellIdentifier,haskellOperators -syn region haskellRecordBlock start="[A-Z][a-zA-Z0-9]*'*\s\+{" end="}" +syn match haskellRecordField "[_a-z][a-zA-z0-9_]*'*\s*::" contains=haskellIdentifier,haskellOperators contained +syn region haskellRecordBlock start="[A-Z][a-zA-Z0-9]*'*\s\+{" end="}" keepend \ contains=haskellType,haskellDelimiter,haskellOperators,haskellDot,haskellRecordField if exists('g:haskell_enable_typeroles')