Skip to content

Commit

Permalink
feat: automatic lang update
Browse files Browse the repository at this point in the history
  • Loading branch information
gbprod committed Oct 18, 2024
1 parent 67ab180 commit 2620787
Show file tree
Hide file tree
Showing 19 changed files with 39,532 additions and 40,602 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ To handle that, you must have `diff` and `git_rebase` tree-sitter grammars insta

If you're using Neovim and [`nvim-treesitter`](https://github.com/nvim-treesitter/nvim-treesitter), you just have to be sure that `diff` and `git_rebase` are installed (using `TSInstall diff git_rebase` for example).

## Upgrade translations

There is python script to upgrade translations from git source code. It will search for all translations in all tagged versions of git from the v2.30.2.
So this parser should be compatible with all git versions from v2.30.2.

To upgrade translations, run:

```bash
python parse-lang.py
```

## Credits

- [https://github.com/the-mikedavis/tree-sitter-git-commit](https://github.com/the-mikedavis/tree-sitter-git-commit) Good parser but [only works in English](https://github.com/the-mikedavis/tree-sitter-git-commit/issues/4).
Loading

0 comments on commit 2620787

Please sign in to comment.