From 57c6f9204639bf3d6a70478e79be4d00e64b9148 Mon Sep 17 00:00:00 2001 From: raichoo Date: Thu, 26 Jun 2014 10:58:59 +0200 Subject: [PATCH] recognize single quotes in backtick notation --- syntax/haskell.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/haskell.vim b/syntax/haskell.vim index 7134f8a..6ebba26 100644 --- a/syntax/haskell.vim +++ b/syntax/haskell.vim @@ -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