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
This commit is contained in:
Sean Carolan 2021-09-27 16:56:58 -05:00 committed by GitHub
parent 1b8581c9aa
commit e877a4355d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ import type { languages } from '../fillers/monaco-editor-core';
export const conf: languages.LanguageConfiguration = { export const conf: languages.LanguageConfiguration = {
comments: { comments: {
lineComment: '//', lineComment: '#',
blockComment: ['/*', '*/'] blockComment: ['/*', '*/']
}, },
brackets: [ brackets: [