File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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
7676syn region haskellBlock matchgroup =haskellDelimiter start =" {" end =" }" contains =TOP,@Spell
7777syn keyword haskellInfix infix infixl infixr
7878syn 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\@ ! "
8080syn match haskellQuote " \< '\+ " contained
8181syn match haskellQuotedType " \% ([A-Z][a-zA-Z0-9_']*\.\) *[A-Z][a-zA-Z0-9_']*\> " contained
8282syn region haskellQuoted start =" \< '\+ " end =" \> " skip =" \. "
@@ -95,7 +95,7 @@ syn match haskellLineComment "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$"
9595syn match haskellBacktick " `[A-Za-z_][A-Za-z0-9_\. ']*#\? `"
9696syn region haskellString start =+ "+ skip =+ \\\\\|\\ "+ end =+ "+
9797 \ 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
9999syn match haskellChar " \< '[^'\\ ]'\| '\\ .'\| '\\ u[0-9a-fA-F]\{ 4}'\> "
100100syn match haskellType " \< [A-Z][a-zA-Z0-9_']*\% (\. [A-Z][a-zA-Z0-9_']*\) *\.\@ !\> "
101101syn region haskellBlockComment start =" {-" end =" -}"
You can’t perform that action at this time.
0 commit comments