File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,34 @@ export function getLanguageConfiguration(lang: string): LanguageConfiguration {
19
19
? [
20
20
{
21
21
beforeText : / ^ \/ \/ \/ / ,
22
- afterText : / .* / ,
23
22
action : { indentAction : IndentAction . None , appendText : "/// " } ,
24
23
} ,
25
24
]
26
- : [ ] ,
25
+ : [
26
+ {
27
+ beforeText : / ^ \s \/ \/ \/ / ,
28
+ action : { indentAction : IndentAction . None , appendText : "/// " } ,
29
+ } ,
30
+ {
31
+ beforeText : / ^ \s \/ \/ [ ^ / ] ? / ,
32
+ action : { indentAction : IndentAction . None , appendText : "// " } ,
33
+ } ,
34
+ {
35
+ beforeText : / ^ \s ; ; / ,
36
+ action : { indentAction : IndentAction . None , appendText : ";; " } ,
37
+ } ,
38
+ {
39
+ beforeText : / ^ \s ; [ ^ ; ] ? / ,
40
+ action : { indentAction : IndentAction . None , appendText : "; " } ,
41
+ } ,
42
+ {
43
+ beforeText : / ^ \s # ; / ,
44
+ action : { indentAction : IndentAction . None , appendText : "#; " } ,
45
+ } ,
46
+ {
47
+ beforeText : / ^ \s # # ; / ,
48
+ action : { indentAction : IndentAction . None , appendText : "##; " } ,
49
+ } ,
50
+ ] ,
27
51
} ;
28
52
}
You can’t perform that action at this time.
0 commit comments