on 376c19e help sign in
helix/.github/workflows/languages.toml
26 lines 637 B history raw
1# This languages.toml is used for testing in CI.
3[[language]]
4name = "rust"
5scope = "source.rust"
6injection-regex = "rust"
7file-types = ["rs"]
8comment-token = "//"
9roots = ["Cargo.toml", "Cargo.lock"]
10indent = { tab-width = 4, unit = " " }
12[[grammar]]
13name = "rust"
14source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "0431a2c60828731f27491ee9fdefe25e250ce9c9" }
16[[language]]
17name = "nix"
18scope = "source.nix"
19injection-regex = "nix"
20file-types = ["nix"]
21shebangs = []
22roots = []
23comment-token = "#"
25# A grammar entry is not necessary for this language - it is only used for
26# testing TOML merging behavior.