Skip to content

Commit a21e5b2

Browse files
authored
fix: Update language names to better represent embedded templates (#160)
This pull request updates the language names for `.html.erb` and `.yml.erb` files. The previous names `HTML/ERB` and `YAML/ERB` used a forward slash which semantically suggests "either/or" rather than the actual relationship where ERB is embedded within HTML or YAML. Using `HTML+ERB` and `YAML+ERB` with a plus sign better conveys that these are composite languages.
1 parent a5e3a8d commit a21e5b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

languages/html-erb/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "HTML/ERB"
1+
name = "HTML+ERB"
22
grammar = "embedded_template"
33
path_suffixes = ["html.erb"]
44
autoclose_before = ">})"

languages/yaml-erb/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
name = "YAML/ERB"
1+
name = "YAML+ERB"
22
grammar = "embedded_template"
33
path_suffixes = ["yml.erb", "yaml.erb"]

0 commit comments

Comments
 (0)