diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-21 10:23:10 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-21 10:23:10 +0000 |
commit | 88014fcec04721350abc156efb1e18889fca5255 (patch) | |
tree | e43d7323191a992fa8b604b245de333f130569b5 /editors/code/src/commands | |
parent | 04dacb994349848873f9b2576d53685630883300 (diff) | |
parent | 28bf731751ecf248ea891b07c274dadcb3b7f157 (diff) |
Merge #3258
3258: enforce camel case r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code/src/commands')
-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> { |