Commit 2f39355
committed
Modified syntax groups regular expressions
Instead of targetting the regular expressions to very specific syntax
groups (ie: javaScriptDocComment), which make the indent script not
compatible with other syntaxes (ie: jsComment), more generic versions
are used which should still match the same groups by using case
insensitive search and shorter patterns (string, regex and comment).1 parent 9990a76 commit 2f39355
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments