File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ syn region haskellBrackets matchgroup=haskellDelimiter start="\[" end="]" contai
76
76
syn region haskellBlock matchgroup =haskellDelimiter start =" {" end =" }" contains =TOP,@Spell
77
77
syn keyword haskellInfix infix infixl infixr
78
78
syn keyword haskellBottom undefined error
79
- syn match haskellOperators " \% ([A-Z][a-zA-Z0-9_']*\.\) *[-!#$%&\*\+ /<=>\? @\\ ^|~:]\+\|\< _\>\|\< \.\> "
79
+ syn match haskellOperators " \% ([A-Z][a-zA-Z0-9_']*\.\) *[-!#$%&\*\+ /<=>\? @\\ ^|~:]\+\|\< _\>\|\k\@ <! \.\|\.\k\@ ! "
80
80
syn match haskellQuote " \< '\+ " contained
81
81
syn match haskellQuotedType " \% ([A-Z][a-zA-Z0-9_']*\.\) *[A-Z][a-zA-Z0-9_']*\> " contained
82
82
syn region haskellQuoted start =" \< '\+ " end =" \> " skip =" \. "
@@ -95,7 +95,7 @@ syn match haskellLineComment "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$"
95
95
syn match haskellBacktick " `[A-Za-z_][A-Za-z0-9_\. ']*#\? `"
96
96
syn region haskellString start =+ "+ skip =+ \\\\\|\\ "+ end =+ "+
97
97
\ contains= @S pell
98
- syn match haskellIdentifier " \% ([A-Z][a-zA-Z0-9_']* \.\) *[ _a-z][a-zA-z0 -9_']*" contained
98
+ syn match haskellIdentifier " [ _a-z][a-zA-Z0 -9_']*" contained
99
99
syn match haskellChar " \< '[^'\\ ]'\| '\\ .'\| '\\ u[0-9a-fA-F]\{ 4}'\> "
100
100
syn match haskellType " \< [A-Z][a-zA-Z0-9_']*\% (\. [A-Z][a-zA-Z0-9_']*\) *\.\@ !\> "
101
101
syn region haskellBlockComment start =" {-" end =" -}"
You can’t perform that action at this time.
0 commit comments