aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMichael Davis2022-03-09 14:34:52 +0000
committerBlaž Hrastnik2022-03-10 08:31:57 +0000
commite01c53551db82146b59415498fc8f588f237b22c (patch)
treeccc4f8666e5f359fbbe4614ae97aa13a4e134b9b /languages.toml
parent7044d7d804ad798207594e1b3bb5bd80a96d3da0 (diff)
flake: use builtins.fetchTree to shallow-clone grammar repos
Here we perform a shallow fetch using builtins.fetchTree. In order to make this work, we need to specify the `ref' for any repository that doesn't have `master' as its default branch (I'm not sure why this limitation exists since we don't need this when performing the shallow fetch in `--grammar build') This `ref' field is ignored by helix, so I have left it undocumented for now, but I could be open to documenting it.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 18182011..b0ed4b34 100644
--- a/languages.toml
+++ b/languages.toml
@@ -73,7 +73,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "protobuf"
-source = { git = "https://github.com/yusdacra/tree-sitter-protobuf", rev = "19c211a01434d9f03efff99f85e19f967591b175" }
+source = { git = "https://github.com/yusdacra/tree-sitter-protobuf", rev = "19c211a01434d9f03efff99f85e19f967591b175"}
[[language]]
name = "elixir"
@@ -88,7 +88,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "elixir"
-source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "f5d7bda543da788bd507b05bd722627dde66c9ec" }
+source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "f5d7bda543da788bd507b05bd722627dde66c9ec" }
[[language]]
name = "fish"