17 lines
449 B
TOML
17 lines
449 B
TOML
use-grammars = { only = ["templ"] }
|
|
|
|
[[language]]
|
|
name = "templ"
|
|
auto-format = true
|
|
scope = "source.templ"
|
|
injection-regex = "templ"
|
|
file-types = ["templ"]
|
|
roots = ["go.mod"]
|
|
comment-token = "//"
|
|
language-server = { command = "templ", args = ["lsp"] }
|
|
formatter = { command = "templ", args = ["fmt"] }
|
|
|
|
[[grammar]]
|
|
name = "templ"
|
|
source = { git = "https://github.com/vrischmann/tree-sitter-templ", rev = "9f63037ad08a58050d0582ef1ae0009bd0fbf2f1" }
|