aboutsummaryrefslogtreecommitdiff
path: root/helix-core/tests/data/indent/languages.toml
blob: 3206f124dab07be7faff2ceb401cabd82d90d40e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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" }