vimPlugins.nvim-treesitter: prefix version with 0.0.0+rev=

This makes diffing two nixos systems less noisy,
as no longer short commits starting with numbers are counted as versions
and with letters as pname.
This commit is contained in:
Sandro Jäckel
2023-03-27 01:40:35 +02:00
parent 05dbf8731b
commit 83ae03de66
2 changed files with 181 additions and 181 deletions
File diff suppressed because it is too large Load Diff
@@ -35,7 +35,7 @@ def generate_grammar(item):
generated = f""" {lang} = buildGrammar {{
language = "{lang}";
version = "{rev[:7]}";
version = "0.0.0+rev={rev[:7]}";
src = """
generated += subprocess.check_output(["nurl", url, rev, "--indent=4"], text=True)