on master help sign in
Fixed TA
a157aa0iko
Haskell Language Server.novaextension/Syntaxes/Haskell.xml+4−21
@@ -78,6 +78,9 @@
78 </collection>
78 </collection>
79
79
80 <collection name="expressions">
80 <collection name="expressions">
81+ <scope name="haskell.construct.keyword.at">
82+ <expression>@</expression>
83+ </scope>
81 <scope name="haskell.construct.keyword.case-arrow">
84 <scope name="haskell.construct.keyword.case-arrow">
82 <expression>-&gt;</expression>
85 <expression>-&gt;</expression>
83 </scope>
86 </scope>
@@ -92,33 +95,12 @@
92 <include syntax="self" collection="view-pattern" />
95 <include syntax="self" collection="view-pattern" />
93 <include syntax="self" collection="lambda-case" />
96 <include syntax="self" collection="lambda-case" />
94 <include syntax="self" collection="lambda-head" />
97 <include syntax="self" collection="lambda-head" />
95− <include syntax="self" collection="type-applications" />
96 <include syntax="self" collection="case-expression" />
98 <include syntax="self" collection="case-expression" />
97 <include syntax="self" collection="qconid" />
99 <include syntax="self" collection="qconid" />
98 <include syntax="self" collection="qvarid" />
100 <include syntax="self" collection="qvarid" />
99 <include syntax="self" collection="tuple" />
101 <include syntax="self" collection="tuple" />
100 </collection>
102 </collection>
101
103
102− <collection name="type-applications">
103− <scope name="type-applications">
104− <starts-with>
105− <expression>(\s@)\(</expression>
106− <capture number="1" name="haskell.keyword.operator.typeapplication" />
107− </starts-with>
108− <ends-with>
109− <expression>)</expression>
110− </ends-with>
111− <subscopes>
112− <include syntax="self" collection="type" />
113− </subscopes>
114− </scope>
115− <scope name="type-applications-single">
116− <expression>(@)(\w+)</expression>
117− <capture number="1" name="haskell.keyword.operator.typeapplication" />
118− <capture number="2" name="haskell.identifier.type" />
119− </scope>
120− </collection>
121−
122 <collection name="Quote">
104 <collection name="Quote">
123 <scope name="haskell.quasiquote.string-template">
105 <scope name="haskell.quasiquote.string-template">
124 <starts-with>
106 <starts-with>
@@ -861,6 +843,7 @@
861 <strings>
843 <strings>
862 <string>undefined</string>
844 <string>undefined</string>
863 <string>_</string>
845 <string>_</string>
846+ <string>@</string>
864 </strings>
847 </strings>
865 </scope>
848 </scope>
866 </collection>
849 </collection>