File tree Expand file tree Collapse file tree 3 files changed +16
-14
lines changed Expand file tree Collapse file tree 3 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 5
5
- Proper highlighting of lambda case, including fixing the highlighting of subsequent braces (which were wrongly highlighted as record syntax).
6
6
- Recognize indented ` \begin{code} ` boundary in literate haskell files.
7
7
- Fix highlighting of symbolic data constructors within fixity declarations (e.g. ` infixl 9 :$ ` ).
8
+ - Add ` meta.embedded.block.{quasi-quoter} ` scope to quasi-quotations.
8
9
9
10
## 3.3.0 - 25.06.2020
10
11
Original file line number Diff line number Diff line change @@ -1735,21 +1735,20 @@ repository:
1735
1735
(?x)
1736
1736
(\[)
1737
1737
(?:(\$\$)|(\$))?
1738
- (?!'\|') # Don't parse ['|'...] as a quasi quotation
1739
- ((?:[^\s\p{S}\p{P}]|[\.'_])*)
1738
+ (?!'\|') # Don't parse ['|'...] as a quasi quotation
1739
+ ((?:[\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*\.)*) # Optional qualifier
1740
+ ((?:[^\s\p{S}\p{P}]|['_])*) # Quasi-quoter
1740
1741
(\|\|?)
1741
1742
beginCaptures:
1742
1743
'1': {name: keyword.operator.quasi-quotation.begin.haskell}
1743
1744
'2': {name: keyword.operator.prefix.double-dollar.haskell}
1744
1745
'3': {name: keyword.operator.prefix.dollar.haskell}
1745
- '4':
1746
- patterns:
1747
- - include: '#qualifier'
1748
- name: entity.name.quasi-quoter.haskell
1749
- '5': {name: keyword.operator.quasi-quotation.begin.haskell}
1750
- end: '\5\]'
1746
+ '4': {name: entity.name.namespace.haskell}
1747
+ '5': {name: entity.name.quasi-quoter.haskell}
1748
+ '6': {name: keyword.operator.quasi-quotation.begin.haskell}
1749
+ end: '\6\]'
1751
1750
endCaptures:
1752
1751
'0': {name: keyword.operator.quasi-quotation.end.haskell}
1753
- name: meta.quasi-quotation.haskell
1752
+ name: " meta.quasi-quotation.haskell meta.embedded.block.$5"
1754
1753
scopeName : source.haskell
1755
1754
uuid : 5C034675-1F6D-497E-8073-369D37E2FD7D
Original file line number Diff line number Diff line change 48
48
49
49
< HTML >
50
50
-- ^ ^^^^^ meta.quasi-quotation.haskell
51
+ -- ^^^^^^ meta.embedded.block.html
51
52
| ]
52
53
-- ^ ^ keyword.operator.quasi-quotation.end.haskell
53
54
-- ^^ meta.quasi-quotation.haskell
54
55
55
- [Mod. xml' | <xml /> |]
56
- -- ^ ^ keyword.operator.quasi-quotation.begin.haskell
56
+ [Mod. xml | <xml /> |]
57
+ -- ^ ^ keyword.operator.quasi-quotation.begin.haskell
57
58
-- ^^^^ entity.name.namespace.haskell
58
- -- ^^^^ entity.name.quasi-quoter.haskell
59
- -- ^^ keyword.operator.quasi-quotation.end.haskell
60
- -- ^^^^^^^^^^^^^^^^^^^^^ meta.quasi-quotation.haskell
59
+ -- ^^^ entity.name.quasi-quoter.haskell
60
+ -- ^^ keyword.operator.quasi-quotation.end.haskell
61
+ -- ^^^^^^^^^^^^^^^^^^^^ meta.quasi-quotation.haskell
62
+ -- ^^^^^^^ meta.embedded.block.xml
61
63
62
64
[a' |'xyz|]
63
65
-- ^ ^ entity.name.quasi-quoter.haskell
You can’t perform that action at this time.
0 commit comments