8 Commits

Author SHA1 Message Date
Heitor Augusto c9d3c16463 vimPlugins.nvim-treesitter: add parser and query dependencies 2026-01-18 17:01:26 -03:00
Heitor Augusto 71f1b82b97 vimPlugins.nvim-treesitter: 0.10.0-unstable-2025-05-24 -> 0.10.0-unstable-2025-12-29 2025-12-29 18:41:59 -03:00
Austin Horstman 6e54938365 vimPlugins.nvim-treesitter: fix update script generated.nix path
When run directly from `update.py` it generates in the wrong location.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-01 10:44:29 -05:00
PerchunPak 1a47b9efd0 nvim-treesitter grammars updater: avoid silent fails
What if some grammar fails to update? Well, it gets removed from the
generated file. How would we know that the grammar failed? By reading
logs. Who reads logs if the command didn't crash? Right, nobody. Or even
if someone examines the logs, it is too easy to overlook the failure
(are you sure you read every single line of code? It is not even colored)

They are useful only in two cases:

- During debugging, this happens rarely
- Let's print something to keep the user informed that we are doing
  something

  It should not to be a mistake to overlook one line from the logs,
  because when you run the same script hundreds of times (we do updates
  weekly), you barely look at logs; you scan them, at most.

By treating logs this way, we can inform ourselves about possible
breakages before it gets even reviewed by another person, not by a user
opening a bug report months later.

![image](https://github.com/user-attachments/assets/608dad73-626a-4e06-9122-38d2a085d473)
2025-05-18 20:49:46 +02:00
PerchunPak 137a367b17 nvim-treesitter grammars updater: small improvements
Mainly ran `ruff format` on the file and used newer `pathlib.Path`
2025-05-18 20:28:53 +02:00
Austin Horstman 34970867e2 nvim-treesitter/update.py: source from nurr
Upstream no longer updating the sources in the lockfile.json, but they
still update in their main branch's parsers.lua. We don't need to parse
that file since nurr is already doing that for us. We can just grab
latest parser info from their json.
2025-05-18 09:27:44 -05:00
Austin Horstman 09c979e0f0 vimPlugins.nvim-tree-sitter: fix updater formatting 2025-04-14 12:33:55 -05:00
Austin Horstman 0195aa79db vimPluginsUpdater: fix nvim-tree-sitter update
Moving the update scripts to the utils directory and pointing back at
the generated location
2025-03-27 08:09:45 -05:00