ruby: Add embedded_template grammar (#11677)

This PR adds the `embedded_template` grammar to the Ruby extension, as
we need it present for ERB.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-05-10 16:08:46 -04:00 committed by GitHub
parent 451727d257
commit fc584017d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 6 deletions

1
Cargo.lock generated
View file

@ -5710,7 +5710,6 @@ dependencies = [
"tree-sitter-c",
"tree-sitter-cpp",
"tree-sitter-css",
"tree-sitter-embedded-template",
"tree-sitter-go",
"tree-sitter-gomod",
"tree-sitter-gowork",

View file

@ -36,7 +36,6 @@ tree-sitter-bash.workspace = true
tree-sitter-c.workspace = true
tree-sitter-cpp.workspace = true
tree-sitter-css.workspace = true
tree-sitter-embedded-template.workspace = true
tree-sitter-go.workspace = true
tree-sitter-gomod.workspace = true
tree-sitter-gowork.workspace = true

View file

@ -36,10 +36,6 @@ pub fn init(
("c", tree_sitter_c::language()),
("cpp", tree_sitter_cpp::language()),
("css", tree_sitter_css::language()),
(
"embedded_template",
tree_sitter_embedded_template::language(),
),
("go", tree_sitter_go::language()),
("gomod", tree_sitter_gomod::language()),
("gowork", tree_sitter_gowork::language()),

View file

@ -13,3 +13,7 @@ language = "Ruby"
[grammars.ruby]
repository = "https://github.com/tree-sitter/tree-sitter-ruby"
commit = "9d86f3761bb30e8dcc81e754b81d3ce91848477e"
[grammars.embedded_template]
repository = "https://github.com/tree-sitter/tree-sitter-embedded-template"
commit = "91fc5ae1140d5c9d922312431f7d251a48d7b8ce"