on master help sign in
Fixed TA
commita157aa00afe0688d06b6e38e1b28453303e46c56 authoriko <ilyakooo0@gmail.com> dateFri 18 Mar 2022, 19:40 (5 years ago) parentf1a8e3b
1 file changed+4−21
Haskell Language Server.novaextension/Syntaxes/Haskell.xml+4−21
Haskell Language Server.novaextension/Syntaxes/Haskell.xml+4−21
@@ -78,6 +78,9 @@
7878 </collection>
7979
8080 <collection name="expressions">
81+ <scope name="haskell.construct.keyword.at">
82+ <expression>@</expression>
83+ </scope>
8184 <scope name="haskell.construct.keyword.case-arrow">
8285 <expression>-&gt;</expression>
8386 </scope>
@@ -92,33 +95,12 @@
9295 <include syntax="self" collection="view-pattern" />
9396 <include syntax="self" collection="lambda-case" />
9497 <include syntax="self" collection="lambda-head" />
95− <include syntax="self" collection="type-applications" />
9698 <include syntax="self" collection="case-expression" />
9799 <include syntax="self" collection="qconid" />
98100 <include syntax="self" collection="qvarid" />
99101 <include syntax="self" collection="tuple" />
100102 </collection>
101103
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−
122104 <collection name="Quote">
123105 <scope name="haskell.quasiquote.string-template">
124106 <starts-with>
@@ -861,6 +843,7 @@
861843 <strings>
862844 <string>undefined</string>
863845 <string>_</string>
846+ <string>@</string>
864847 </strings>
865848 </scope>
866849 </collection>