include comments in module block
This commit is contained in:
parent
b759744a71
commit
cccb536b4f
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ endif
|
||||||
|
|
||||||
syn keyword haskellBlockKeywords data type family module where class instance contained
|
syn keyword haskellBlockKeywords data type family module where class instance contained
|
||||||
syn region haskellModuleBlock start="\<module\>" end="\<where\>"
|
syn region haskellModuleBlock start="\<module\>" end="\<where\>"
|
||||||
\ contains=haskellType,haskellDelimiter,haskellDot,haskellOperators,haskellModule,haskellBlockKeywords keepend
|
\ contains=haskellType,haskellDelimiter,haskellDot,haskellOperators,haskellModule,haskellBlockKeywords,haskellLineComment,haskellBlockComment keepend
|
||||||
syn region haskellBlock start="\<\(class\|instance\)\>" end="\(\<where\>\|[\n]\)"
|
syn region haskellBlock start="\<\(class\|instance\)\>" end="\(\<where\>\|[\n]\)"
|
||||||
\ contains=haskellType,haskellDelimiter,haskellDot,haskellOperators,haskellModule,haskellBlockKeywords keepend
|
\ contains=haskellType,haskellDelimiter,haskellDot,haskellOperators,haskellModule,haskellBlockKeywords keepend
|
||||||
syn region haskellDataBlock start="\<\(data\|type\)\>\(\s\+\<family\>\)\?" end="\([=\n]\|\<where\>\)"
|
syn region haskellDataBlock start="\<\(data\|type\)\>\(\s\+\<family\>\)\?" end="\([=\n]\|\<where\>\)"
|
||||||
|
|
Loading…
Reference in a new issue