mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 11:53:30 +04:00
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 = "a360da0a29a19c281d08295a35ecd0544d2da211" }
|