From 28bf731751ecf248ea891b07c274dadcb3b7f157 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 21 Feb 2020 11:22:45 +0100 Subject: enforce camel case --- editors/code/src/commands/expand_macro.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code/src/commands/expand_macro.ts') 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 { expansion: string; } -function code_format(expanded: ExpandedMacro): string { +function codeFormat(expanded: ExpandedMacro): string { let result = `// Recursive expansion of ${expanded.name}! macro\n`; result += '// ' + '='.repeat(result.length - 3); result += '\n\n'; @@ -65,7 +65,7 @@ class TextDocumentContentProvider if (expanded == null) return 'Not available'; - return code_format(expanded); + return codeFormat(expanded); } get onDidChange(): vscode.Event { -- cgit v1.2.3