remove all submodules

The submodules system is being replaced with a command-line flag

    hx --fetch-grammars

Which shallow-clones grammar repositories at the given revision and

    hx --build-grammars

For building grammars separate of the initial compilation of helix.

Why remove submodules?

* Cloning helix in general takes a long time because of the submodules,
  especially when the submodules are not fetched as shallow
* Packaging is consistently painful no matter the package-manager
* It is quite difficult to devise a scheme where users can declare
  a desired set of grammars and implement it with submodules

This commit fully removes the existing tree-sitter submodules from
the tree (as well as the .gitmodules file which is no longer used).
imgbot
Michael Davis 2 years ago committed by Blaž Hrastnik
parent 8d7a25b4d4
commit fbb98300df

240
.gitmodules vendored

@ -1,240 +0,0 @@
[submodule "helix-syntax/languages/tree-sitter-cpp"]
path = helix-syntax/languages/tree-sitter-cpp
url = https://github.com/tree-sitter/tree-sitter-cpp
shallow = true
[submodule "helix-syntax/languages/tree-sitter-javascript"]
path = helix-syntax/languages/tree-sitter-javascript
url = https://github.com/tree-sitter/tree-sitter-javascript
shallow = true
[submodule "helix-syntax/languages/tree-sitter-julia"]
path = helix-syntax/languages/tree-sitter-julia
url = https://github.com/tree-sitter/tree-sitter-julia
shallow = true
[submodule "helix-syntax/languages/tree-sitter-python"]
path = helix-syntax/languages/tree-sitter-python
url = https://github.com/tree-sitter/tree-sitter-python
shallow = true
[submodule "helix-syntax/languages/tree-sitter-typescript"]
path = helix-syntax/languages/tree-sitter-typescript
url = https://github.com/tree-sitter/tree-sitter-typescript
shallow = true
[submodule "helix-syntax/languages/tree-sitter-agda"]
path = helix-syntax/languages/tree-sitter-agda
url = https://github.com/tree-sitter/tree-sitter-agda
shallow = true
[submodule "helix-syntax/languages/tree-sitter-go"]
path = helix-syntax/languages/tree-sitter-go
url = https://github.com/tree-sitter/tree-sitter-go
shallow = true
[submodule "helix-syntax/languages/tree-sitter-ruby"]
path = helix-syntax/languages/tree-sitter-ruby
url = https://github.com/tree-sitter/tree-sitter-ruby
shallow = true
[submodule "helix-syntax/languages/tree-sitter-java"]
path = helix-syntax/languages/tree-sitter-java
url = https://github.com/tree-sitter/tree-sitter-java
shallow = true
[submodule "helix-syntax/languages/tree-sitter-php"]
path = helix-syntax/languages/tree-sitter-php
url = https://github.com/tree-sitter/tree-sitter-php
shallow = true
[submodule "helix-syntax/languages/tree-sitter-html"]
path = helix-syntax/languages/tree-sitter-html
url = https://github.com/tree-sitter/tree-sitter-html
shallow = true
[submodule "helix-syntax/languages/tree-sitter-scala"]
path = helix-syntax/languages/tree-sitter-scala
url = https://github.com/tree-sitter/tree-sitter-scala
shallow = true
[submodule "helix-syntax/languages/tree-sitter-bash"]
path = helix-syntax/languages/tree-sitter-bash
url = https://github.com/tree-sitter/tree-sitter-bash
shallow = true
[submodule "helix-syntax/languages/tree-sitter-rust"]
path = helix-syntax/languages/tree-sitter-rust
url = https://github.com/tree-sitter/tree-sitter-rust
shallow = true
[submodule "helix-syntax/languages/tree-sitter-json"]
path = helix-syntax/languages/tree-sitter-json
url = https://github.com/tree-sitter/tree-sitter-json
shallow = true
[submodule "helix-syntax/languages/tree-sitter-css"]
path = helix-syntax/languages/tree-sitter-css
url = https://github.com/tree-sitter/tree-sitter-css
shallow = true
[submodule "helix-syntax/languages/tree-sitter-c-sharp"]
path = helix-syntax/languages/tree-sitter-c-sharp
url = https://github.com/tree-sitter/tree-sitter-c-sharp
shallow = true
[submodule "helix-syntax/languages/tree-sitter-c"]
path = helix-syntax/languages/tree-sitter-c
url = https://github.com/tree-sitter/tree-sitter-c
shallow = true
[submodule "helix-syntax/languages/tree-sitter-haskell"]
path = helix-syntax/languages/tree-sitter-haskell
url = https://github.com/tree-sitter/tree-sitter-haskell
shallow = true
[submodule "helix-syntax/languages/tree-sitter-swift"]
path = helix-syntax/languages/tree-sitter-swift
url = https://github.com/tree-sitter/tree-sitter-swift
shallow = true
[submodule "helix-syntax/languages/tree-sitter-toml"]
path = helix-syntax/languages/tree-sitter-toml
url = https://github.com/ikatyang/tree-sitter-toml
shallow = true
[submodule "helix-syntax/languages/tree-sitter-elixir"]
path = helix-syntax/languages/tree-sitter-elixir
url = https://github.com/elixir-lang/tree-sitter-elixir
shallow = true
[submodule "helix-syntax/languages/tree-sitter-nix"]
path = helix-syntax/languages/tree-sitter-nix
url = https://github.com/cstrahan/tree-sitter-nix
shallow = true
[submodule "helix-syntax/languages/tree-sitter-latex"]
path = helix-syntax/languages/tree-sitter-latex
url = https://github.com/latex-lsp/tree-sitter-latex
shallow = true
[submodule "helix-syntax/languages/tree-sitter-ledger"]
path = helix-syntax/languages/tree-sitter-ledger
url = https://github.com/cbarrete/tree-sitter-ledger
shallow = true
[submodule "helix-syntax/languages/tree-sitter-protobuf"]
path = helix-syntax/languages/tree-sitter-protobuf
url = https://github.com/yusdacra/tree-sitter-protobuf.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-ocaml"]
path = helix-syntax/languages/tree-sitter-ocaml
url = https://github.com/tree-sitter/tree-sitter-ocaml
shallow = true
[submodule "helix-syntax/languages/tree-sitter-lua"]
path = helix-syntax/languages/tree-sitter-lua
url = https://github.com/nvim-treesitter/tree-sitter-lua
shallow = true
[submodule "helix-syntax/languages/tree-sitter-yaml"]
path = helix-syntax/languages/tree-sitter-yaml
url = https://github.com/ikatyang/tree-sitter-yaml
shallow = true
[submodule "helix-syntax/languages/tree-sitter-zig"]
path = helix-syntax/languages/tree-sitter-zig
url = https://github.com/maxxnino/tree-sitter-zig
shallow = true
[submodule "helix-syntax/languages/tree-sitter-svelte"]
path = helix-syntax/languages/tree-sitter-svelte
url = https://github.com/Himujjal/tree-sitter-svelte
shallow = true
[submodule "helix-syntax/languages/tree-sitter-vue"]
path = helix-syntax/languages/tree-sitter-vue
url = https://github.com/ikatyang/tree-sitter-vue
shallow = true
[submodule "helix-syntax/languages/tree-sitter-tsq"]
path = helix-syntax/languages/tree-sitter-tsq
url = https://github.com/tree-sitter/tree-sitter-tsq
shallow = true
[submodule "helix-syntax/languages/tree-sitter-cmake"]
path = helix-syntax/languages/tree-sitter-cmake
url = https://github.com/uyha/tree-sitter-cmake
shallow = true
[submodule "helix-syntax/languages/tree-sitter-glsl"]
path = helix-syntax/languages/tree-sitter-glsl
url = https://github.com/theHamsta/tree-sitter-glsl.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-perl"]
path = helix-syntax/languages/tree-sitter-perl
url = https://github.com/ganezdragon/tree-sitter-perl
shallow = true
[submodule "helix-syntax/languages/tree-sitter-comment"]
path = helix-syntax/languages/tree-sitter-comment
url = https://github.com/stsewd/tree-sitter-comment
shallow = true
[submodule "helix-syntax/languages/tree-sitter-wgsl"]
path = helix-syntax/languages/tree-sitter-wgsl
url = https://github.com/szebniok/tree-sitter-wgsl
shallow = true
[submodule "helix-syntax/languages/tree-sitter-llvm"]
path = helix-syntax/languages/tree-sitter-llvm
url = https://github.com/benwilliamgraham/tree-sitter-llvm
shallow = true
[submodule "helix-syntax/languages/tree-sitter-markdown"]
path = helix-syntax/languages/tree-sitter-markdown
url = https://github.com/MDeiml/tree-sitter-markdown
shallow = true
[submodule "helix-syntax/languages/tree-sitter-dart"]
path = helix-syntax/languages/tree-sitter-dart
url = https://github.com/UserNobody14/tree-sitter-dart.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-dockerfile"]
path = helix-syntax/languages/tree-sitter-dockerfile
url = https://github.com/camdencheek/tree-sitter-dockerfile.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-fish"]
path = helix-syntax/languages/tree-sitter-fish
url = https://github.com/ram02z/tree-sitter-fish
shallow = true
[submodule "helix-syntax/languages/tree-sitter-git-commit"]
path = helix-syntax/languages/tree-sitter-git-commit
url = https://github.com/the-mikedavis/tree-sitter-git-commit.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-llvm-mir"]
path = helix-syntax/languages/tree-sitter-llvm-mir
url = https://github.com/Flakebi/tree-sitter-llvm-mir.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-git-diff"]
path = helix-syntax/languages/tree-sitter-git-diff
url = https://github.com/the-mikedavis/tree-sitter-git-diff.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-tablegen"]
path = helix-syntax/languages/tree-sitter-tablegen
url = https://github.com/Flakebi/tree-sitter-tablegen
shallow = true
[submodule "helix-syntax/languages/tree-sitter-git-rebase"]
path = helix-syntax/languages/tree-sitter-git-rebase
url = https://github.com/the-mikedavis/tree-sitter-git-rebase.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-lean"]
path = helix-syntax/languages/tree-sitter-lean
url = https://github.com/Julian/tree-sitter-lean
shallow = true
[submodule "helix-syntax/languages/tree-sitter-regex"]
path = helix-syntax/languages/tree-sitter-regex
url = https://github.com/tree-sitter/tree-sitter-regex.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-make"]
path = helix-syntax/languages/tree-sitter-make
url = https://github.com/alemuller/tree-sitter-make
shallow = true
[submodule "helix-syntax/languages/tree-sitter-git-config"]
path = helix-syntax/languages/tree-sitter-git-config
url = https://github.com/the-mikedavis/tree-sitter-git-config.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-graphql"]
path = helix-syntax/languages/tree-sitter-graphql
url = https://github.com/bkegley/tree-sitter-graphql
shallow = true
[submodule "helix-syntax/languages/tree-sitter-elm"]
path = helix-syntax/languages/tree-sitter-elm
url = https://github.com/elm-tooling/tree-sitter-elm
shallow = true
[submodule "helix-syntax/languages/tree-sitter-iex"]
path = helix-syntax/languages/tree-sitter-iex
url = https://github.com/elixir-lang/tree-sitter-iex
shallow = true
[submodule "helix-syntax/languages/tree-sitter-twig"]
path = helix-syntax/languages/tree-sitter-twig
url = https://github.com/eirabben/tree-sitter-twig.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-rescript"]
path = helix-syntax/languages/tree-sitter-rescript
url = https://github.com/jaredramirez/tree-sitter-rescript
shallow = true
[submodule "helix-syntax/languages/tree-sitter-erlang"]
path = helix-syntax/languages/tree-sitter-erlang
url = https://github.com/the-mikedavis/tree-sitter-erlang
shallow = true
[submodule "helix-syntax/languages/tree-sitter-kotlin"]
path = helix-syntax/languages/tree-sitter-kotlin
url = https://github.com/fwcd/tree-sitter-kotlin.git
shallow = true
[submodule "helix-syntax/languages/tree-sitter-hcl"]
path = helix-syntax/languages/tree-sitter-hcl
url = https://github.com/MichaHoffmann/tree-sitter-hcl.git
shallow = true

@ -1 +0,0 @@
Subproject commit ca69cdf485e9ce2b2ef0991a720aa88d87d30231

@ -1 +0,0 @@
Subproject commit a8eb5cb57c66f74c63ab950de081207cccf52017

@ -1 +0,0 @@
Subproject commit f05e279aedde06a25801c3f2b2cc8ac17fac52ae

@ -1 +0,0 @@
Subproject commit 53a65a908167d6556e1fcdb67f1ee62aac101dda

@ -1 +0,0 @@
Subproject commit f6616f1e417ee8b62daf251aa1daa5d73781c596

@ -1 +0,0 @@
Subproject commit 5dd3c62f1bbe378b220fe16b317b85247898639e

@ -1 +0,0 @@
Subproject commit e8dcc9d2b404c542fd236ea5f7208f90be8a6e89

@ -1 +0,0 @@
Subproject commit 94e10230939e702b4fa3fa2cb5c3bc7173b95d07

@ -1 +0,0 @@
Subproject commit 6a25376685d1d47968c2cef06d4db8d84a70025e

@ -1 +0,0 @@
Subproject commit 7af32bc04a66ab196f5b9f92ac471f29372ae2ce

@ -1 +0,0 @@
Subproject commit f5d7bda543da788bd507b05bd722627dde66c9ec

@ -1 +0,0 @@
Subproject commit bd50ccf66b42c55252ac8efc1086af4ac6bab8cd

@ -1 +0,0 @@
Subproject commit 04e54ab6585dfd4fee6ddfe5849af56f101b6d4f

@ -1 +0,0 @@
Subproject commit 066e395e1107df17183cf3ae4230f1a1406cc972

@ -1 +0,0 @@
Subproject commit 0e4f0baf90b57e5aeb62dcdbf03062c6315d43ea

@ -1 +0,0 @@
Subproject commit c12e6ecb54485f764250556ffd7ccb18f8e2942b

@ -1 +0,0 @@
Subproject commit 332dc528f27044bc4427024dbb33e6941fc131f2

@ -1 +0,0 @@
Subproject commit 88408ffc5e27abcffced7010fc77396ae3636d7e

@ -1 +0,0 @@
Subproject commit 0fa917a7022d1cd2e9b779a6a8fc5dc7fad69c75

@ -1 +0,0 @@
Subproject commit 5e66e961eee421786bdda8495ed1db045e06b5fe

@ -1 +0,0 @@
Subproject commit b6ec26f181dd059eedd506fa5fbeae1b8e5556c8

@ -1 +0,0 @@
Subproject commit d93af487cc75120c89257195e6be46c999c6ba18

@ -1 +0,0 @@
Subproject commit 3ec55082cf0be015d03148be8edfdfa8c56e77f9

@ -1 +0,0 @@
Subproject commit bd6186c24d5eb13b4623efac9d944dcc095c0dad

@ -1 +0,0 @@
Subproject commit 4a95461c4761c624f2263725aca79eeaefd36cad

@ -1 +0,0 @@
Subproject commit 65bceef69c3b0f24c0b19ce67d79f57c96e90fcb

@ -1 +0,0 @@
Subproject commit 12ea597262125fc22fd2e91aa953ac69b19c26ca

@ -1 +0,0 @@
Subproject commit 7f720661de5316c0f8fee956526d4002fa1086d8

@ -1 +0,0 @@
Subproject commit d98426109258b266e1e92358c5f11716d2e8f638

@ -1 +0,0 @@
Subproject commit 0cdeb0e51411a3ba5493662952c3039de08939ca

@ -1 +0,0 @@
Subproject commit 3b213925b9c4f42c1acfe2e10bfbb438d9c6834d

@ -1 +0,0 @@
Subproject commit 06fabca19454b2dc00c1b211a7cb7ad0bc2585f1

@ -1 +0,0 @@
Subproject commit 6f5d40190ec8a0aa8c8410699353d820f4f7d7a6

@ -1 +0,0 @@
Subproject commit a4b9187417d6be349ee5fd4b6e77b4172c6827dd

@ -1 +0,0 @@
Subproject commit ad8c32917a16dfbb387d1da567bf0c3fb6fffde2

@ -1 +0,0 @@
Subproject commit 50f38ceab667f9d482640edfee803d74f4edeba5

@ -1 +0,0 @@
Subproject commit 23d419ba45789c5a47d31448061557716b02750a

@ -1 +0,0 @@
Subproject commit 0ac2c6da562c7a2c26ed7e8691d4a590f7e8b90a

@ -1 +0,0 @@
Subproject commit 57f855461aeeca73bd4218754fb26b5ac143f98f

@ -1 +0,0 @@
Subproject commit 19c211a01434d9f03efff99f85e19f967591b175

@ -1 +0,0 @@
Subproject commit d6210ceab11e8d812d4ab59c07c81458ec6e5184

@ -1 +0,0 @@
Subproject commit e1cfca3c79896ff79842f057ea13e529b66af636

@ -1 +0,0 @@
Subproject commit 761eb9126b65e078b1b5770ac296b4af8870f933

@ -1 +0,0 @@
Subproject commit dfff673b41df7fadcbb609c6338f38da3cdd018e

@ -1 +0,0 @@
Subproject commit a360da0a29a19c281d08295a35ecd0544d2da211

@ -1 +0,0 @@
Subproject commit 0a3dd53a7fc4b352a538397d054380aaa28be54c

@ -1 +0,0 @@
Subproject commit 349a5984513b4a4a9e143a6e746120c6ff6cf6ed

@ -1 +0,0 @@
Subproject commit a22fa5e19bae50098e2252ea96cba3aba43f4c58

@ -1 +0,0 @@
Subproject commit 568dd8a937347175fd58db83d4c4cdaeb6069bd2

@ -1 +0,0 @@
Subproject commit 7cff70bbcbbc62001b465603ca1ea88edd668704

@ -1 +0,0 @@
Subproject commit b665659d3238e6036e22ed0e24935e60efb39415

@ -1 +0,0 @@
Subproject commit b7444181fb38e603e25ea8fcdac55f9492e49c27

@ -1 +0,0 @@
Subproject commit 3e897ea5925f037cfae2e551f8e6b12eec2a201a

@ -1 +0,0 @@
Subproject commit 91fe2754796cd8fba5f229505a23fa08f3546c06

@ -1 +0,0 @@
Subproject commit f00ff52251edbd58f4d39c9c3204383253032c11

@ -1 +0,0 @@
Subproject commit 0e36bed171768908f331ff7dff9d956bae016efb

@ -1 +0,0 @@
Subproject commit 93331b8bd8b4ebee2b575490b2758f16ad4e9f30
Loading…
Cancel
Save