Skip to content

Commit 266c7db

Browse files
committed
properly highlight magic hashes in type signatures
1 parent 21c4876 commit 266c7db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/haskell.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ syn match haskellRecordField contained containedin=haskellBlock
2525
\ haskellSeparator,
2626
\ haskellParens
2727
syn match haskellTypeSig
28-
\ "^\s*\(where\s\+\|let\s\+\|default\s\+\)\?[_a-z][a-zA-Z0-9_']*\(,\s*[_a-z][a-zA-Z0-9_']*\)*\_s\+::\s"
28+
\ "^\s*\(where\s\+\|let\s\+\|default\s\+\)\?[_a-z][a-zA-Z0-9_']*#\?\(,\s*[_a-z][a-zA-Z0-9_']*#\?\)*\_s\+::\s"
2929
\ contains=
3030
\ haskellWhere,
3131
\ haskellLet,

0 commit comments

Comments
 (0)