fork/helix

git clone https://git.julia.blue/fork/helix

Daniel EbertRun indentation tests on a part of the Helix source code. Add C++ indent test file.b315901c

master
837 B26 linesraw
1# This languages.toml should contain definitions for all languages for which we have indent tests
2[[language]]
3name = "rust"
4scope = "source.rust"
5injection-regex = "rust"
6file-types = ["rs"]
7comment-token = "//"
8roots = ["Cargo.toml", "Cargo.lock"]
9indent = { tab-width = 4, unit = "    " }
10
11[[grammar]]
12name = "rust"
13source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "0431a2c60828731f27491ee9fdefe25e250ce9c9" }
14
15[[language]]
16name = "cpp"
17scope = "source.cpp"
18injection-regex = "cpp"
19file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H"]
20roots = []
21comment-token = "//"
22indent = { tab-width = 2, unit = "  " }
23
24[[grammar]]
25name = "cpp"
26source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "2d2c4aee8672af4c7c8edff68e7dd4c07e88d2b1" }