aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-09-22 09:23:48 +0000
committerBlaž Hrastnik2020-09-22 09:27:37 +0000
commiteb639eb2e4610ed2b440c8d95217f125005288fd (patch)
tree3dd5d220287a4927f9dc79689d0e9dacb4021b73 /helix-syntax
parent2c3b10dbb0f270bc83169d28e4ed665557be70ca (diff)
More robust syntax detection/grammar loading.
Diffstat (limited to 'helix-syntax')
m---------helix-syntax/languages/tree-sitter-toml0
-rw-r--r--helix-syntax/src/lib.rs1
2 files changed, 1 insertions, 0 deletions
diff --git a/helix-syntax/languages/tree-sitter-toml b/helix-syntax/languages/tree-sitter-toml
new file mode 160000
+Subproject 42c9ff20c0371bed7f514036e823f10793caace
diff --git a/helix-syntax/src/lib.rs b/helix-syntax/src/lib.rs
index 1ca36ca6..60472fdd 100644
--- a/helix-syntax/src/lib.rs
+++ b/helix-syntax/src/lib.rs
@@ -82,6 +82,7 @@ mk_langs!(
(Rust, tree_sitter_rust),
(Scala, tree_sitter_scala),
(Swift, tree_sitter_swift),
+ (Toml, tree_sitter_toml),
(Tsx, tree_sitter_tsx),
(Typescript, tree_sitter_typescript)
);