Haskell syntax fix
598b1d867bc7b528ca2935e4b644bfd4fa7d3aab
1 parent
6a448c8d
.vim/syntax/haskell.vim
+1 -1
| 70 | 70 | sy keyword hsInfix infix infixl infixr |
|
| 71 | 71 | sy keyword hsStatement do case of let in |
|
| 72 | 72 | sy keyword hsConditional if then else |
|
| 73 | 73 | ||
| 74 | 74 | " Primitive types from the standard prelude and libraries. |
|
| 75 | - | sy match hsType "\<[A-Z]\(\S\&[^,.]\)*\>" |
|
| 75 | + | sy match hsType "\<[A-Z]\(\S\&[^,.{}]\)*\>" |
|
| 76 | 76 | sy match hsType "()" |
|
| 77 | 77 | ||
| 78 | 78 | syn keyword hsBoolean True False |
|
| 79 | 79 | ||
| 80 | 80 | syn region hsPackageString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial contained |