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