aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authorTimothy DeHerrera2021-06-09 23:05:54 +0000
committerBlaž Hrastnik2021-06-10 13:01:48 +0000
commit38073fd64c1d277b19442ed5e802a853e817c743 (patch)
tree6bc8489b1dfc31a06db9ac4ac985b436c7a2fb32 /helix-syntax
parent01760c3845fd5107f2ae28109d61957a6f3080e3 (diff)
Add Nix syntax
Diffstat (limited to 'helix-syntax')
m---------helix-syntax/languages/tree-sitter-nix0
-rw-r--r--helix-syntax/src/lib.rs7
2 files changed, 4 insertions, 3 deletions
diff --git a/helix-syntax/languages/tree-sitter-nix b/helix-syntax/languages/tree-sitter-nix
new file mode 160000
+Subproject 50f38ceab667f9d482640edfee803d74f4edeba
diff --git a/helix-syntax/src/lib.rs b/helix-syntax/src/lib.rs
index bb0b2ec6..a4706d3b 100644
--- a/helix-syntax/src/lib.rs
+++ b/helix-syntax/src/lib.rs
@@ -68,18 +68,19 @@ mk_langs!(
// 2) tree-sitter function to call to get a Language
(Agda, tree_sitter_agda),
(Bash, tree_sitter_bash),
- (C, tree_sitter_c),
- (CSharp, tree_sitter_c_sharp),
(Cpp, tree_sitter_cpp),
+ (CSharp, tree_sitter_c_sharp),
(Css, tree_sitter_css),
+ (C, tree_sitter_c),
(Elixir, tree_sitter_elixir),
(Go, tree_sitter_go),
// (Haskell, tree_sitter_haskell),
(Html, tree_sitter_html),
- (Java, tree_sitter_java),
(Javascript, tree_sitter_javascript),
+ (Java, tree_sitter_java),
(Json, tree_sitter_json),
(Julia, tree_sitter_julia),
+ (Nix, tree_sitter_nix),
(Php, tree_sitter_php),
(Python, tree_sitter_python),
(Ruby, tree_sitter_ruby),