aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/expand_macro.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/commands/expand_macro.ts')
-rw-r--r--editors/code/src/commands/expand_macro.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands/expand_macro.ts b/editors/code/src/commands/expand_macro.ts
index 6fee6eb41..edec9bbc1 100644
--- a/editors/code/src/commands/expand_macro.ts
+++ b/editors/code/src/commands/expand_macro.ts
@@ -31,7 +31,7 @@ interface ExpandedMacro {
31 expansion: string; 31 expansion: string;
32} 32}
33 33
34function code_format(expanded: ExpandedMacro): string { 34function codeFormat(expanded: ExpandedMacro): string {
35 let result = `// Recursive expansion of ${expanded.name}! macro\n`; 35 let result = `// Recursive expansion of ${expanded.name}! macro\n`;
36 result += '// ' + '='.repeat(result.length - 3); 36 result += '// ' + '='.repeat(result.length - 3);
37 result += '\n\n'; 37 result += '\n\n';
@@ -65,7 +65,7 @@ class TextDocumentContentProvider
65 65
66 if (expanded == null) return 'Not available'; 66 if (expanded == null) return 'Not available';
67 67
68 return code_format(expanded); 68 return codeFormat(expanded);
69 } 69 }
70 70
71 get onDidChange(): vscode.Event<vscode.Uri> { 71 get onDidChange(): vscode.Event<vscode.Uri> {