Commit d8c18d9
committed
Fix Comment Regions
Our comment detection was a bit buggy because we did not use the extend
keyword. This meant that if the comment was contained within a region
or a match of sorts, it would get pre-maturely ended by a containing
group. Using the extend keyword means that it will override any
containing parent matcher and still display a comment, which is how JS
actually interprets the code.1 parent d87bcd1 commit d8c18d9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments