forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
438 B
TOML
14 lines
438 B
TOML
# This languages.toml should contain definitions for all languages for which we have indent tests
|
|
[[language]]
|
|
name = "rust"
|
|
scope = "source.rust"
|
|
injection-regex = "rust"
|
|
file-types = ["rs"]
|
|
comment-token = "//"
|
|
roots = ["Cargo.toml", "Cargo.lock"]
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
[[grammar]]
|
|
name = "rust"
|
|
source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "0431a2c60828731f27491ee9fdefe25e250ce9c9" }
|