Skip to content

Commit

Permalink
Fix standalone deriving
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-leapyear committed Sep 22, 2021
1 parent ad4b08c commit 229fde3
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions Syntaxes/Haskell-SublimeHaskell.sublime-syntax
Expand Up @@ -343,28 +343,15 @@ contexts:
captures:
2: keyword.declaration.instance.haskell
push:
- match: \b(via)\s+(\()\b
- match: \b(via)\b
captures:
1: keyword.declaration.instance.haskell
2: keyword.operator.haskell
push:
- meta_scope: meta.type_signature.brace.haskell
- match: (\))
captures:
1: keyword.operator.haskell
pop: true
- include: type
- match: \b(instance)\s+(\()\b
- match: \b(instance)\b
captures:
1: keyword.declaration.instance.haskell
2: keyword.operator.haskell
push:
- meta_scope: meta.type_signature.brace.haskell
- match: (\))
captures:
1: keyword.operator.haskell
pop: 2
- include: type
- match: ^(?!\1\s)
pop: true
- include: type
- match: ^(\s*)(instance)\b
captures:
2: keyword.declaration.instance.haskell
Expand Down

0 comments on commit 229fde3

Please sign in to comment.