diff options
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml new file mode 100644 index 00000000..eca55a13 --- /dev/null +++ b/languages.toml @@ -0,0 +1,20 @@ +[[language]] +name = "rust" +scope = "source.rust" +injection-regex = "rust" +file-types = ["rs"] +roots = [] +path = "../helix-syntax/languages/tree-sitter-rust" + +language-server = { command = "rust-analyzer" } +indent = { tab-width = 4, unit = " " } + +[[language]] +name = "toml" +scope = "source.toml" +injection-regex = "toml" +file-types = ["toml"] +roots = [] +path = "../helix-syntax/languages/tree-sitter-toml" + +indent = { tab-width = 2, unit = " " } |