Skip to content

Instantly share code, notes, and snippets.

@WolfangAukang
Created January 2, 2024 15:51
Show Gist options
  • Save WolfangAukang/f033aec7f4f78e84c6ae073c78271ccc to your computer and use it in GitHub Desktop.
Save WolfangAukang/f033aec7f4f78e84c6ae073c78271ccc to your computer and use it in GitHub Desktop.
Helix settings for CloudFormation YAML templates

Store it at .helix/languages.toml.

[[language]]
name = "yaml"
[language-server.yaml-language-server.config.yaml]
format = { enable = true }
schemas = { "https://raw.githubusercontent.com/awslabs/goformation/master/schema/cloudformation.schema.json" = "**/*.y{a,}ml" }
customTags = [ "!FindInMap", "!FindInMap sequence", "!GetAtt", "!GetAtt sequence", "!Join", "!Join sequence", "!Ref", "!Ref sequence", "!Select", "!Select sequence", "!Split", "!Split sequence", "!Sub", "!Sub sequence" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment