@@ -1,9 +1,9 @@
1<?xml version="1.0" encoding="UTF-8"?>
1<?xml version="1.0" encoding="UTF-8"?>
2<syntax name="haskell">
2<syntax name="haskell">
4− <name>Haskell</name>
4+ <name>Haskell</name>
5− <type>compiled</type>
5+ <type>compiled</type>
6− <preferred-file-extension>hs</preferred-file-extension>
6+ <preferred-file-extension>hs</preferred-file-extension>
9 <detectors>
9 <detectors>
@@ -57,6 +57,7 @@
57 <include syntax="self" collection="type-family-definition" />
57 <include syntax="self" collection="type-family-definition" />
58 <include syntax="self" collection="pattern-definition" />
58 <include syntax="self" collection="pattern-definition" />
59 <include syntax="self" collection="type-definition" />
59 <include syntax="self" collection="type-definition" />
60+ <!-- <include syntax="self" collection="type-annotation" /> -->
60 <include syntax="self" collection="GADT-definition" />
61 <include syntax="self" collection="GADT-definition" />
61 <include syntax="self" collection="instance" />
62 <include syntax="self" collection="instance" />
62 <include syntax="self" collection="typeclass" />
63 <include syntax="self" collection="typeclass" />
@@ -65,6 +66,7 @@
66 <template-scopes>
67 <template-scopes>
67 <include syntax="self" collection="Quote" />
68 <include syntax="self" collection="Quote" />
69+ <include syntax="self" collection="comments" />
68 </template-scopes>
70 </template-scopes>
70 <collections>
72 <collections>
@@ -77,16 +79,7 @@
77 </collection>
79 </collection>
79 <collection name="expressions">
81 <collection name="expressions">
80− <scope name="haskell.construct.keyword.at">
81− <expression>@</expression>
83− <scope name="haskell.construct.keyword.case-arrow">
84− <expression>-></expression>
86− <scope name="haskell.construct.keyword.bind-arrow">
87− <expression><-</expression>
89− <include syntax="self" collection="keywords" />
82+ <include syntax="self" collection="do-bind" />
90 <include syntax="self" collection="literal" />
83 <include syntax="self" collection="literal" />
91 <include syntax="self" collection="operators" />
84 <include syntax="self" collection="operators" />
92 <include syntax="self" collection="record-match" />
85 <include syntax="self" collection="record-match" />
@@ -94,12 +87,33 @@
94 <include syntax="self" collection="view-pattern" />
87 <include syntax="self" collection="view-pattern" />
95 <include syntax="self" collection="lambda-case" />
88 <include syntax="self" collection="lambda-case" />
96 <include syntax="self" collection="lambda-head" />
89 <include syntax="self" collection="lambda-head" />
97− <include syntax="self" collection="case-expression" />
90+ <include syntax="self" collection="type-applications" />
91+ <include syntax="self" collection="outer-case-expression" />
98 <include syntax="self" collection="qconid" />
92 <include syntax="self" collection="qconid" />
99 <include syntax="self" collection="qvarid" />
93 <include syntax="self" collection="qvarid" />
100 <include syntax="self" collection="tuple" />
94 <include syntax="self" collection="tuple" />
101 </collection>
95 </collection>
97+ <collection name="type-applications">
98+ <scope name="type-applications">
100+ <expression>(\s@)\(</expression>
101+ <capture number="1" name="haskell.keyword.operator.typeapplication" />
104+ <expression>)</expression>
107+ <include syntax="self" collection="type" />
110+ <scope name="type-applications-single">
111+ <expression>(@)(\w+)</expression>
112+ <capture number="1" name="haskell.keyword.operator.typeapplication" />
113+ <capture number="2" name="haskell.identifier.type" />
103 <collection name="Quote">
117 <collection name="Quote">
104 <scope name="haskell.quasiquote.string-template">
118 <scope name="haskell.quasiquote.string-template">
105 <starts-with>
119 <starts-with>
@@ -136,7 +150,6 @@
136 <capture number="1" name="haskell.pattern.record.bracket" />
150 <capture number="1" name="haskell.pattern.record.bracket" />
137 </ends-with>
151 </ends-with>
138 <subscopes>
152 <subscopes>
139− <include syntax="self" collection="comments" />
140 <include syntax="self" collection="expressions" />
153 <include syntax="self" collection="expressions" />
141 <scope name="record-sep">
154 <scope name="record-sep">
142 <expression>=</expression>
155 <expression>=</expression>
@@ -159,7 +172,6 @@
159 <capture number="1" name="haskell.pattern.record.bracket" />
172 <capture number="1" name="haskell.pattern.record.bracket" />
160 </ends-with>
173 </ends-with>
161 <subscopes>
174 <subscopes>
162− <include syntax="self" collection="comments" />
163 <scope name="haskell.pattern.record.wildcard">
175 <scope name="haskell.pattern.record.wildcard">
164 <expression>\.\.</expression>
176 <expression>\.\.</expression>
@@ -186,7 +198,6 @@
186 <capture number="1" name="haskell.list.bracket" />
198 <capture number="1" name="haskell.list.bracket" />
187 </ends-with>
199 </ends-with>
188 <subscopes>
200 <subscopes>
189− <include syntax="self" collection="comments" />
190 <include syntax="self" collection="expressions" />
201 <include syntax="self" collection="expressions" />
191 </subscopes>
202 </subscopes>
@@ -229,6 +240,48 @@
230 </collection>
241 </collection>
243+ <collection name="case-match">
244+ <scope name="case-match">
246+ <expression>(?=((\h*)\S.*->($|\h)))</expression>
249+ <expression>-></expression>
251+ <subscopes anchored="true">
252+ <include syntax="self" collection="expressions" />
257+ <collection name="inner-case-expressions">
258+ <scope name="inner-case-expressions">
260+ <expression>(?=((\h*)\S.*->($|\h)))</expression>
263+ <template>^(?!\1)(?!\2\h)(?!\s*$)</template>
265+ <subscopes anchored="true" skip-whitespace="false">
266+ <include syntax="self" collection="case-match" />
267+ <include syntax="self" collection="expressions" />
272+ <collection name="outer-case-expression">
273+ <scope name="outer-case-expression">
275+ <expression>(?=case)</expression>
278+ <subscopes anchored="true" skip-whitespace="false">
279+ <include syntax="self" collection="case-expression" />
280+ <include syntax="self" collection="inner-case-expressions" repeat="true" />
232 <collection name="tuple">
285 <collection name="tuple">
233 <symbol type="expression" />
286 <symbol type="expression" />
234 <scope name="haskell.tuple">
287 <scope name="haskell.tuple">
@@ -241,73 +294,73 @@
241 <capture number="1" name="haskell.tuple.bracket" />
294 <capture number="1" name="haskell.tuple.bracket" />
242 </ends-with>
295 </ends-with>
243 <subscopes>
296 <subscopes>
244− <include syntax="self" collection="comments" />
245 <include syntax="self" collection="expressions" />
297 <include syntax="self" collection="expressions" />
246 </subscopes>
298 </subscopes>
248 </collection>
300 </collection>
250 <collection name="typeclass">
302 <collection name="typeclass">
251− <scope name="haskell.definition.class.head">
303+ <symbol type="interface" />
252− <symbol type="class" scope="global" name-selector="haskell.keyword.construct.class.name">
304+ <scope name="haskell.definition.class">
253− <context behavior="whitespace" foldable="true" />
255 <starts-with>
305 <starts-with>
256 <expression>^(\h*)(class)($|\h)</expression>
306 <expression>^(\h*)(class)($|\h)</expression>
257 <capture number="2" name="haskell.keyword.construct.class" />
307 <capture number="2" name="haskell.keyword.construct.class" />
258 </starts-with>
308 </starts-with>
259− <ends-with />
309+ <ends-with>
260− <subscopes anchored="true">
310+ <template>^(?!\s+\1\S)(?!\s*$)</template>
261− <scope name="haskell.keyword.construct.class.name">
263− <expression></expression>
266− <expression>(?=(where|^\s*$))</expression>
267− </ends-with>
311+ </ends-with>
268− <subscopes>
312+ <subscopes>
269− <include syntax="self" collection="comments" />
270− <include syntax="self" collection="type" />
273− <scope name="haskell.keyword.construct.where" optional="true">
313+ <scope name="haskell.keyword.construct.where">
274 <expression>where</expression>
314 <expression>where</expression>
316+ <include syntax="self" collection="type" />
317+ <include syntax="self" collection="type-definition" />
318+ <!-- <include syntax="self" collection="type-annotation" /> -->
319+ <include syntax="self" collection="definition" />
276 </subscopes>
320 </subscopes>
278 </collection>
322 </collection>
280 <collection name="instance">
324 <collection name="instance">
281 <scope name="haskell.instance">
325 <scope name="haskell.instance">
282− <symbol type="category" name-selector="haskell.keyword.construct.instance.name">
326+ <symbol type="category">
283 <context behavior="whitespace" foldable="true" />
327 <context behavior="whitespace" foldable="true" />
284 </symbol>
328 </symbol>
285 <starts-with>
329 <starts-with>
286 <expression>^(\h*)(instance)($|\h)</expression>
330 <expression>^(\h*)(instance)($|\h)</expression>
287 <capture number="2" name="haskell.keyword.construct.instance" />
331 <capture number="2" name="haskell.keyword.construct.instance" />
288 </starts-with>
332 </starts-with>
289− <ends-with />
333+ <ends-with>
334+ <template>^(?!\s+\1\S)(?!\s*$)</template>
290− <subscopes anchored="true">
336+ <subscopes anchored="true" skip-whitespace="false">
291− <scope name="haskell.keyword.construct.instance.name">
337+ <scope name="haskell.construct.instance.head">
292 <starts-with>
338 <starts-with>
293 <expression></expression>
339 <expression></expression>
294 </starts-with>
340 </starts-with>
295 <ends-with>
341 <ends-with>
296− <expression>(?=(where|^\s*$))</expression>
342+ <expression>where</expression>
343+ <capture number="0" name="haskell.keyword.construct.where" />
297 </ends-with>
344 </ends-with>
298 <subscopes>
345 <subscopes>
299− <include syntax="self" collection="type" />
346+ <include syntax="self" collection="type" optional="true" repeat="true" />
300 </subscopes>
347 </subscopes>
302− <scope name="haskell.keyword.construct.where" optional="true">
349+ <include syntax="self" collection="instance-body" />
303− <expression>where</expression>
305 </subscopes>
350 </subscopes>
307 </collection>
352 </collection>
354+ <collection name="instance-body">
355+ <include syntax="self" collection="definition" />
356+ <include syntax="self" collection="type-definition" />
309 <collection name="type-family-definition">
359 <collection name="type-family-definition">
310 <scope name="haskell.definition.type-family.type">
360 <scope name="haskell.definition.type-family.type">
361+ <symbol type="type" scope="global">
362+ <context behavior="subtree" foldable="false" />
311 <starts-with>
364 <starts-with>
312 <expression>^(\h*)(type\h+family)</expression>
365 <expression>^(\h*)(type\h+family)</expression>
313 <capture number="2" name="haskell.keyword.construct.type-family" />
366 <capture number="2" name="haskell.keyword.construct.type-family" />
@@ -346,7 +399,6 @@
346 <template>^(?!\s+\1\S)(?!\s*$)</template>
399 <template>^(?!\s+\1\S)(?!\s*$)</template>
347 </ends-with>
400 </ends-with>
348 <subscopes>
401 <subscopes>
349− <include syntax="self" collection="comments" />
350 <include syntax="self" collection="type" optional="true" repeat="true" />
402 <include syntax="self" collection="type" optional="true" repeat="true" />
352 <expression>=</expression>
404 <expression>=</expression>
@@ -358,7 +410,7 @@
359 <collection name="definition">
411 <collection name="definition">
360 <scope name="haskell.definition.type.function">
412 <scope name="haskell.definition.type.function">
361− <symbol type="function">
413+ <symbol type="function" scope="local">
362 <context behavior="whitespace" foldable="true" />
414 <context behavior="whitespace" foldable="true" />
363 </symbol>
415 </symbol>
364 <starts-with>
416 <starts-with>
@@ -370,15 +422,35 @@
370 <template>^(?!\1\3\s)(?!\s+\1\S)(?!\s*$)</template>
422 <template>^(?!\1\3\s)(?!\s+\1\S)(?!\s*$)</template>
371 </ends-with>
423 </ends-with>
372 <subscopes>
424 <subscopes>
373− <include syntax="self" collection="comments" />
374 <include syntax="self" collection="type-annotation" />
425 <include syntax="self" collection="type-annotation" />
375 <include syntax="self" collection="implementation" />
426 <include syntax="self" collection="implementation" />
376 </subscopes>
427 </subscopes>
378 </collection>
429 </collection>
431+ <collection name="do-bind">
432+ <scope name="do-bind">
434+ <context behavior="whitespace"></context>
437+ <expression>^(?=((\h*)\S.+<-($|\h)))</expression>
440+ <template>^(?!\1)(?!\2\h)(?!\s*$)</template>
443+ <include syntax="self" collection="do-pattern" />
444+ <include syntax="self" collection="expressions" />
445+ <!-- <scope name="bind-arrow">
446+ <expression><-</expression>
380 <collection name="implementation">
452 <collection name="implementation">
381− <scope name="haskell.definition.type.function.implementation">
453+ <scope name="haskell.definition.type.function">
382 <starts-with>
454 <starts-with>
383 <expression>^(\h*)(default\h+)?`?(\w(\w|')*)`?($|\h)</expression>
455 <expression>^(\h*)(default\h+)?`?(\w(\w|')*)`?($|\h)</expression>
384 <capture number="2" name="haskell.keyword.construct.default" />
456 <capture number="2" name="haskell.keyword.construct.default" />
@@ -388,7 +460,6 @@
388 <template>^(?!\1\3\s)(?!\s+\1\S)(?!\s*$)</template>
460 <template>^(?!\1\3\s)(?!\s+\1\S)(?!\s*$)</template>
389 </ends-with>
461 </ends-with>
390 <subscopes>
462 <subscopes>
391− <include syntax="self" collection="comments" />
392 <include syntax="self" collection="pattern-match" optional="true" repeat="true" />
463 <include syntax="self" collection="pattern-match" optional="true" repeat="true" />
394 <expression>=</expression>
465 <expression>=</expression>
@@ -401,7 +472,7 @@
401 </collection>
472 </collection>
403 <collection name="type-annotation">
474 <collection name="type-annotation">
404− <scope name="haskell.definition.type.function.type-signature">
475+ <scope name="haskell.definition.type.function">
405 <starts-with>
476 <starts-with>
406 <expression>^(\h*)`?(\w(\w|')*)`?\h*::($|\h)</expression>
477 <expression>^(\h*)`?(\w(\w|')*)`?\h*::($|\h)</expression>
407 <capture number="2" name="haskell.identifier.function" />
478 <capture number="2" name="haskell.identifier.function" />
@@ -410,7 +481,6 @@
410 <template>^(?!\s+\1\S)(?!\s*$)</template>
481 <template>^(?!\s+\1\S)(?!\s*$)</template>
411 </ends-with>
482 </ends-with>
412 <subscopes>
483 <subscopes>
413− <include syntax="self" collection="comments" />
414 <include syntax="self" collection="type" />
484 <include syntax="self" collection="type" />
415 </subscopes>
485 </subscopes>
@@ -430,7 +500,6 @@
430 <template>^(?!\s+\1\S)(?!\s*$)</template>
500 <template>^(?!\s+\1\S)(?!\s*$)</template>
431 </ends-with>
501 </ends-with>
432 <subscopes>
502 <subscopes>
433− <include syntax="self" collection="comments" />
434 <include syntax="self" collection="type" />
503 <include syntax="self" collection="type" />
435 </subscopes>
504 </subscopes>
@@ -450,7 +519,6 @@
450 <template>^(?!\s+\1\S)(?!\s*$)</template>
519 <template>^(?!\s+\1\S)(?!\s*$)</template>
451 </ends-with>
520 </ends-with>
452 <subscopes>
521 <subscopes>
453− <include syntax="self" collection="comments" />
454 <scope name="haskell.keyword.construct.where">
522 <scope name="haskell.keyword.construct.where">
455 <expression>where</expression>
523 <expression>where</expression>
@@ -466,16 +534,15 @@
466 <collection name="gadt-constructor">
534 <collection name="gadt-constructor">
467 <scope name="haskell.identifier.type.struct.data.constructor">
535 <scope name="haskell.identifier.type.struct.data.constructor">
468 <symbol type="constructor">
536 <symbol type="constructor">
469− <context behavior="subtree" foldable="true" />
537+ <context behavior="whitespace" />
470 </symbol>
538 </symbol>
472− <expression>(^|=|\||^)\h+([A-Z](\w|')*)</expression>
539+ <expression>(^|=|\|)\h+([A-Z](\w|')*)</expression>
473− <capture number="2" name="haskell.identifier.data.name" />
540+ <capture number="2" name="haskell.identifier.data.name" />
474− </starts-with>
541+ </scope>
475− <ends-with />
542+ <scope name="identifier.type.struct.GADT.constructor">
476− <subscopes anchored="true">
543+ <symbol type="constructor"></symbol>
477− <include syntax="self" collection="record-definition" />
544+ <expression>^\h+([A-Z](\w|')*)</expression>
478− </subscopes>
545+ <capture number="1" name="haskell.identifier.data.name" />
480 </collection>
547 </collection>
@@ -484,7 +551,6 @@
484 <expression>deriving(\h+(newtype|stock|anyclass))?</expression>
551 <expression>deriving(\h+(newtype|stock|anyclass))?</expression>
486 <scope name="haskell.record.construct.deriving.keyword">
553 <scope name="haskell.record.construct.deriving.keyword">
487− <include syntax="self" collection="comments" />
488 <expression>via</expression>
554 <expression>via</expression>
490 </collection>
556 </collection>
@@ -503,7 +569,6 @@
503 <capture number="1" name="haskell.record.bracket" />
569 <capture number="1" name="haskell.record.bracket" />
504 </ends-with>
570 </ends-with>
505 <subscopes>
571 <subscopes>
506− <include syntax="self" collection="comments" />
507 <include syntax="self" collection="record-definition-field-name" />
572 <include syntax="self" collection="record-definition-field-name" />
508 <include syntax="self" collection="type" />
573 <include syntax="self" collection="type" />
509 </subscopes>
574 </subscopes>
@@ -535,7 +600,6 @@
535 <expression>\)</expression>
600 <expression>\)</expression>
536 </ends-with>
601 </ends-with>
537 <subscopes>
602 <subscopes>
538− <include syntax="self" collection="comments" />
539 <scope name="haskell.construct.type.typle.comma">
603 <scope name="haskell.construct.type.typle.comma">
540 <expression>\,</expression>
604 <expression>\,</expression>
@@ -550,7 +614,6 @@
550 <expression>\]</expression>
614 <expression>\]</expression>
551 </ends-with>
615 </ends-with>
552 <subscopes>
616 <subscopes>
553− <include syntax="self" collection="comments" />
554 <include syntax="self" collection="type" />
617 <include syntax="self" collection="type" />
555 </subscopes>
618 </subscopes>
@@ -585,7 +648,6 @@
585 <template>^(?!\s+\1\S)(?!\s*$)</template>
648 <template>^(?!\s+\1\S)(?!\s*$)</template>
586 </ends-with>
649 </ends-with>
587 <subscopes>
650 <subscopes>
588− <include syntax="self" collection="comments" />
589 <scope name="haskell.keyword.construct.where">
651 <scope name="haskell.keyword.construct.where">
590 <expression>where</expression>
652 <expression>where</expression>
@@ -605,7 +667,6 @@
605 <capture number="1" name="haskell.type-list.bracket" />
667 <capture number="1" name="haskell.type-list.bracket" />
606 </ends-with>
668 </ends-with>
607 <subscopes>
669 <subscopes>
608− <include syntax="self" collection="comments" />
609 <include syntax="self" collection="type" />
670 <include syntax="self" collection="type" />
610 </subscopes>
671 </subscopes>
@@ -622,7 +683,6 @@
622 <capture number="1" name="haskell.keyword.construct.lambda" />
683 <capture number="1" name="haskell.keyword.construct.lambda" />
623 </ends-with>
684 </ends-with>
624 <subscopes>
685 <subscopes>
625− <include syntax="self" collection="comments" />
626 <include syntax="self" collection="pattern-match" />
686 <include syntax="self" collection="pattern-match" />
627 </subscopes>
687 </subscopes>
@@ -644,7 +704,6 @@
644 <template>^(?!\1\s*\S)(?!s*$)</template>
704 <template>^(?!\1\s*\S)(?!s*$)</template>
645 </ends-with>
705 </ends-with>
646 <subscopes>
706 <subscopes>
647− <include syntax="self" collection="comments" />
648 <include syntax="self" collection="definition" />
707 <include syntax="self" collection="definition" />
649 </subscopes>
708 </subscopes>
@@ -684,12 +743,12 @@
686 <collection name="strings">
745 <collection name="strings">
687− <scope name="haskell.string.double-quoted" spell-check="true">
746+ <scope name="haskell.string.double-quoted">
688 <starts-with>
747 <starts-with>
689− <expression>"</expression>
748+ <expression>"</expression>
690 </starts-with>
749 </starts-with>
691 <ends-with>
750 <ends-with>
692− <expression>"</expression>
751+ <expression>"</expression>
693 </ends-with>
752 </ends-with>
694 <subscopes>
753 <subscopes>
695 <scope name="haskell.string.escape-sequences">
754 <scope name="haskell.string.escape-sequences">
@@ -726,7 +785,6 @@
726 </ends-with>
785 </ends-with>
727 <subscopes>
786 <subscopes>
728 <scope name="identifier.haskell.type">
787 <scope name="identifier.haskell.type">
729− <symbol type="expression" />
730 <symbol type="expression" />
788 <symbol type="expression" />
731 <expression>([A-Z](\w|')*)\h*(\(\h*\.\.\h*\))?</expression>
789 <expression>([A-Z](\w|')*)\h*(\(\h*\.\.\h*\))?</expression>
732 <capture number="1" name="identifier.type" />
790 <capture number="1" name="identifier.type" />
@@ -751,7 +809,6 @@
751 </ends-with>
809 </ends-with>
752 <subscopes>
810 <subscopes>
753 <scope name="haskell.construct.qualified">
811 <scope name="haskell.construct.qualified">
754− <symbol type="expression" />
755 <expression>qualified</expression>
812 <expression>qualified</expression>
756 <capture number="0" name="haskell.construct.keyword.qualified" />
813 <capture number="0" name="haskell.construct.keyword.qualified" />
@@ -769,7 +826,6 @@
769 </ends-with>
826 </ends-with>
770 <subscopes anchored="true">
827 <subscopes anchored="true">
771 <include syntax="self" collection="import-list" />
828 <include syntax="self" collection="import-list" />
772− <symbol type="expression" />
773 </subscopes>
829 </subscopes>
@@ -803,7 +859,6 @@
803 </ends-with>
859 </ends-with>
804 <subscopes>
860 <subscopes>
805 <scope name="haskell.identifier.struct">
861 <scope name="haskell.identifier.struct">
806− <symbol type="expression" />
807 <symbol type="reference" scope="local" />
862 <symbol type="reference" scope="local" />
808 <expression>([A-Z](\w|')*)\h*(\(\h*\.\.\h*\))?</expression>
863 <expression>([A-Z](\w|')*)\h*(\(\h*\.\.\h*\))?</expression>
809 <capture number="1" name="haskell.import-list.identifier.type.name" />
864 <capture number="1" name="haskell.import-list.identifier.type.name" />
@@ -817,6 +872,13 @@
818 </collection>
873 </collection>
875+ <!-- <collection name="special">
877+ <expression>(;|,)</expression>
820 <collection name="reservedop">
882 <collection name="reservedop">
821 <scope name="keyword.operator">
883 <scope name="keyword.operator">
822 <expression>(\.\.|:|::|=|\\|\||<-|->|@|~|=>)</expression>
884 <expression>(\.\.|:|::|=|\\|\||<-|->|@|~|=>)</expression>
@@ -824,11 +886,10 @@
824 </collection>
886 </collection>
826 <collection name="keywords">
888 <collection name="keywords">
827− <scope name="haskell.keyword.self">
889+ <scope name="haskell.keyword.modifier">
828 <symbol type="keyword" />
890 <symbol type="keyword" />
829 <strings>
891 <strings>
830 <string>do</string>
892 <string>do</string>
831− <string>mdo</string>
832 <string>in</string>
893 <string>in</string>
833 <string>infix</string>
894 <string>infix</string>
834 <string>infixl</string>
895 <string>infixl</string>
@@ -866,18 +927,20 @@
866 <strings>
927 <strings>
867 <string>undefined</string>
928 <string>undefined</string>
868 <string>_</string>
929 <string>_</string>
870 </strings>
930 </strings>
872 </collection>
932 </collection>
874 <collection name="comments">
934 <collection name="comments">
875 <scope name="haskell.comment.single" spell-check="true">
935 <scope name="haskell.comment.single" spell-check="true">
876− <symbol type="comment" />
936+ <starts-with>
937+ <expression>--</expression>
877− <expression> --.*$</expression>
940+ <expression>$</expression>
879 <scope name="haskell.comment.block" spell-check="true">
943 <scope name="haskell.comment.block" spell-check="true">
880− <symbol type="comment" />
881 <starts-with>
944 <starts-with>
882 <expression>{-</expression>
945 <expression>{-</expression>
883 </starts-with>
946 </starts-with>