From e877a4355d2d72b0c8070f0e464cf97ccf303e7e Mon Sep 17 00:00:00 2001 From: Sean Carolan Date: Mon, 27 Sep 2021 16:56:58 -0500 Subject: [PATCH] Replace // with # for line comments The Terraform HCL documentation states that the # is the preferred and default setting for single line comments: https://www.terraform.io/docs/language/syntax/configuration.html#comments --- src/hcl/hcl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hcl/hcl.ts b/src/hcl/hcl.ts index 10bbaed2..989ccde0 100644 --- a/src/hcl/hcl.ts +++ b/src/hcl/hcl.ts @@ -7,7 +7,7 @@ import type { languages } from '../fillers/monaco-editor-core'; export const conf: languages.LanguageConfiguration = { comments: { - lineComment: '//', + lineComment: '#', blockComment: ['/*', '*/'] }, brackets: [