diff options
author | Aleksey Kladov <[email protected]> | 2020-02-21 10:22:45 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-21 10:22:45 +0000 |
commit | 28bf731751ecf248ea891b07c274dadcb3b7f157 (patch) | |
tree | e43d7323191a992fa8b604b245de333f130569b5 /editors/code/src/commands/expand_macro.ts | |
parent | 04dacb994349848873f9b2576d53685630883300 (diff) |
enforce camel case
Diffstat (limited to 'editors/code/src/commands/expand_macro.ts')
-rw-r--r-- | editors/code/src/commands/expand_macro.ts | 4 |
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 | ||
34 | function code_format(expanded: ExpandedMacro): string { | 34 | function 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> { |