Skip to content

Commit a5302e0

Browse files
committed
fix deriving without strategy
1 parent 42e2250 commit a5302e0

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
@@ -36,7 +36,7 @@ syn match haskellTypeSig
3636
\ haskellParens
3737
syn keyword haskellWhere where
3838
syn keyword haskellLet let
39-
syn match HaskellDerive "\<deriving\>\s\+\<\(anyclass\|instance\|newtype\|stock\)\?"
39+
syn match HaskellDerive "\<deriving\>\(\s\+\<\(anyclass\|instance\|newtype\|stock\)\>\)\?"
4040
syn keyword haskellDeclKeyword module class instance newtype in
4141
syn match haskellDecl "\<\(type\|data\)\>\s\+\(\<family\>\)\?"
4242
syn keyword haskellDefault default

0 commit comments

Comments
 (0)