forked from mirrors/nixpkgs
vimPlugins.nvim-treesitter: clean up update script
This commit is contained in:
parent
d376da366d
commit
2d0d7db7f0
|
@ -1,6 +1,6 @@
|
|||
# generated by pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
|
||||
|
||||
{ buildGrammar, fetchFromBitbucket, fetchFromGitHub, fetchFromGitLab, fetchFromGitea, fetchFromGitiles, fetchFromRepoOrCz, fetchFromSourcehut, fetchgit }:
|
||||
{ buildGrammar, fetchFromBitbucket, fetchFromGitHub, fetchFromGitLab, fetchFromGitea, fetchFromGitiles, fetchFromRepoOrCz, fetchFromSourcehut, fetchgit, fetchhg, fetchsvn }:
|
||||
|
||||
{
|
||||
ada = buildGrammar {
|
||||
|
|
|
@ -60,10 +60,9 @@ def generate_grammar(item):
|
|||
|
||||
generated_file = """# generated by pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
|
||||
|
||||
{ buildGrammar"""
|
||||
{ buildGrammar, """
|
||||
|
||||
for fetcher in subprocess.check_output(["nurl", "-L"], text=True).splitlines():
|
||||
generated_file += f", {fetcher}"
|
||||
generated_file += subprocess.check_output(["nurl", "-Ls", ", "], text=True)
|
||||
|
||||
generated_file += """ }:
|
||||
|
||||
|
|
Loading…
Reference in a new issue