recognize single quotes in backtick notation

This commit is contained in:
raichoo 2014-06-26 10:58:59 +02:00
parent 5ae17ffff4
commit 57c6f92046

View file

@ -28,7 +28,7 @@ syn match haskellDot "\."
syn match haskellType "\<[A-Z][a-zA-Z0-9_]*\>"
syn match haskellLineComment "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$" contains=@Spell
syn match haskellChar "'[^'\\]'\|'\\.'\|'\\u[0-9a-fA-F]\{4}'"
syn match haskellBacktick "`[A-Za-z][A-Za-z0-9_]*`"
syn match haskellBacktick "`[A-Za-z][A-Za-z0-9_]*\('\)*`"
syn region haskellString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@Spell
syn region haskellBlockComment start="{-" end="-}" contains=haskellBlockComment,@Spell
syn match haskellIdentifier "[a-z][a-zA-z0-9_]*\('\)*" contained