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:
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)
|
||||
|
|
Loading…
Reference in a new issue