about summary refs log tree commit diff
path: root/pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
diff options
context:
space:
mode:
authorMango The Fourth <40720523+MangoIV@users.noreply.github.com>2024-06-24 14:53:31 +0200
committerGitHub <noreply@github.com>2024-06-24 14:53:31 +0200
commit36e8d8a53b253019a3b325015be47196c278afb7 (patch)
tree92186e869b01f69b48fbc4ca0fe32e88dbfbd81b /pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
parentc12f26fea07586974c7f1048d8a408d14e7e1b5d (diff)
vimPlugins.nvim-treesitter: fix update.py and update documentation (#321535)
* vimPlugins.nvim-treesitter: fix update.py and update documentation

Diffstat (limited to 'pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py')
-rwxr-xr-xpkgs/applications/editors/vim/plugins/nvim-treesitter/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py b/pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
index 4b70d8555dd2e..8ed3cbffa1d3f 100755
--- a/pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
+++ b/pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
@@ -94,5 +94,5 @@ def update_grammars(nvim_treesitter_dir: str):
 
 
 if __name__ == "__main__":
-    generated = update_grammars(sys.args[1])
+    generated = update_grammars(sys.argv[1])
     open(join(os.path.dirname(__file__), "generated.nix"), "w").write(generated)