Skip to content

Commit 65699dc

Browse files
committed
allow newline after ::
1 parent 266c7db commit 65699dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/haskell.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ endif
1818

1919
syn spell notoplevel
2020
syn match haskellRecordField contained containedin=haskellBlock
21-
\ "[_a-z][a-zA-Z0-9_']*\(,\s*[_a-z][a-zA-Z0-9_']*\)*\_s\+::\s"
21+
\ "[_a-z][a-zA-Z0-9_']*\(,\s*[_a-z][a-zA-Z0-9_']*\)*\_s\+::\_s"
2222
\ contains=
2323
\ haskellIdentifier,
2424
\ haskellOperators,
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)