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