| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Remove update_selection side-effects (#4114) | coinator | 2023-01-07 | 1 | -1/+2 | |
| | | ||||||
| * | allow negative assertion in injection tests (#4107) | lucario387 | 2023-01-07 | 5 | -135/+84 | |
| | | | | | | | | * tests(vue, svelte): strengthen tests * fix(html, vue, svelte): fix wrong test format * allow negative assertions in injection tests | |||||
| * | fix(utils): swap_nodes calculates correct char_delta (#4110) | Michael Lan | 2023-01-07 | 2 | -2/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * fix(utils): swap_nodes calculates correct char_delta The char_delta is not calculated correctly right now when there are two treesitter nodes being swapped, one directly following the other. This is rare but can happen for example when attempting to swap "print" and "(1)" in "print(1)". In this case an incorrect char_delta is calculated because of a bug in range comparison. * test(swap_nodes): check cursor * add a regression test (for multiline node swap) * add a test with adjacent swaps that fails when char_delta is not calculated correctly * test(swap_nodes): check text content after swap * test: note language for parser * fix tests * use same not equal for table comparison | |||||
| * | Add tests correctly for ruby rescue/ensure indentation | Cameron | 2023-01-06 | 3 | -2/+2 | |
| | | ||||||
| * | Create indent-ensure.rb | Cameron | 2023-01-06 | 1 | -0/+3 | |
| | | ||||||
| * | Create indent-rescue.rb | Cameron | 2023-01-06 | 1 | -0/+3 | |
| | | ||||||
| * | Update indents for Ruby | Cameron | 2023-01-06 | 1 | -0/+2 | |
| | | | | Add `rescue` and `ensure` as a @branch captures for ruby | |||||
| * | folds(rust): add array_expression | Chinmay Dalal | 2023-01-05 | 1 | -0/+1 | |
| | | ||||||
| * | ci: properly fix lockfile action | ObserverOfTime | 2023-01-04 | 1 | -1/+1 | |
| | | ||||||
| * | fix: do not force syntax=ON on detach | Lewis Russell | 2023-01-04 | 1 | -9/+1 | |
| | | | | | | syntax is now restored in vim.treesitter.stop() so we don't need to force it on here. | |||||
| * | highlights(markdown_inline): added ')' to links | Josef Litoš | 2023-01-04 | 1 | -2/+2 | |
| | | ||||||
| * | fix(jsx): add missing indent end mark to elements | Pham Huy Hoang | 2023-01-04 | 6 | -1/+98 | |
| | | ||||||
| * | fix(html): fix wrong indents for script/style tags | Pham Huy Hoang | 2023-01-03 | 6 | -2/+91 | |
| | | ||||||
| * | refactor(svelte): Remove duplicated queries | Lucario387 | 2023-01-03 | 2 | -7/+43 | |
| | | | | | | | These injection queries are defined already in html_tags, remove them Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com> | |||||
| * | refactor(vue, html): Update injections | Lucario387 | 2023-01-03 | 4 | -59/+122 | |
| | | | | | | | | Update html_tags injections so that html/vue/svelte parsers can use it without having a script/style tag being captured twice Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com> | |||||
| * | Update parsers: scala | GitHub | 2023-01-03 | 1 | -1/+1 | |
| | | ||||||
| * | ci: trim final `"]` when parsers get added in update-lockfile.yml | Stephan Seitz | 2023-01-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | See https://github.com/nvim-treesitter/nvim-treesitter/pull/4066 The diff will look different when a whole parser gets added: ``` @ ["gleam","revision"] - "cfcbca3f8f734773878e00d7bfcedea98eb10be2" + "3eb2e1783f3bf6f85c16cdd150e2f256b2f6844e" @ ["nix","revision"] - "6b71a810c0acd49b980c50fc79092561f7cee307" + "1b69cf1fa92366eefbe6863c184e5d2ece5f187d" @ ["wgsl_bevy"] + {"revision":"c81dc770310795caea5e00996505deba024ec698"} ``` Co-authored-by: ObserverOfTime <chronobserver@disroot.org> | |||||
| * | Update parsers: gitcommit, norg, v | GitHub | 2023-01-03 | 1 | -3/+3 | |
| | | ||||||
| * | Update parsers: v (#4077) | github-actions[bot] | 2023-01-02 | 1 | -1/+1 | |
| | | | | Co-authored-by: GitHub <noreply@github.com> | |||||
| * | Update parsers: help (#4075) | github-actions[bot] | 2023-01-02 | 1 | -1/+1 | |
| | | | | Co-authored-by: GitHub <noreply@github.com> | |||||
| * | highlights(elm): zero args constructor pattern matching | Ananda Umamil | 2023-01-01 | 1 | -0/+2 | |
| | | ||||||
| * | highlights(haskell): Fix partially applied infix functions | Manuel Barros | 2023-01-01 | 1 | -0/+2 | |
| | | ||||||
| * | Update parsers: latex (#4072) | github-actions[bot] | 2023-01-01 | 1 | -1/+1 | |
| | | | | Co-authored-by: GitHub <noreply@github.com> | |||||
| * | Update parsers: latex | GitHub | 2023-01-01 | 1 | -1/+1 | |
| | | ||||||
| * | highlights(rust): use `@namespace` for `[(crate) (self) (super)]` | Stephan Seitz | 2023-01-01 | 2 | -19/+37 | |
| | | | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3992 | |||||
| * | ci: allow negative assertions in tests | Stephan Seitz | 2023-01-01 | 2 | -1/+13 | |
| | | ||||||
| * | highlights(elm): improve highlights | Ananda Umamil | 2023-01-01 | 1 | -41/+143 | |
| | | ||||||
| * | indents(c): treat `"#ifndef"`, `"#elif"` like `"#ifdef"` | Stephan Seitz | 2022-12-31 | 1 | -0/+2 | |
| | | ||||||
| * | Update parsers: wgsl_bevy"] | GitHub | 2022-12-31 | 1 | -0/+3 | |
| | | ||||||
| * | highlights(wgsl): highlight "->" for return types as `@punctuation.delimiter` | Stephan Seitz | 2022-12-31 | 1 | -1/+1 | |
| | | ||||||
| * | parsers: add wgsl_bevy | Stephan Seitz | 2022-12-31 | 4 | -0/+46 | |
| | | | | | | This adds an extension of tree-sitter-wgsl that understands [Bevy's](https://bevyengine.org/) preprocessor directives. | |||||
| * | fix: show errors when reload after installation fails | Stephan Seitz | 2022-12-31 | 2 | -7/+10 | |
| | | ||||||
| * | feat: also reload parsers after uninstallation | Stephan Seitz | 2022-12-31 | 1 | -11/+24 | |
| | | ||||||
| * | highlights(cuda): add missing `"__global__"` | Stephan Seitz | 2022-12-31 | 1 | -0/+1 | |
| | | ||||||
| * | move 'in' to repeat | Pedro Castro | 2022-12-31 | 2 | -2/+2 | |
| | | ||||||
| * | fix test | Pedro Castro | 2022-12-31 | 2 | -2/+2 | |
| | | ||||||
| * | r: move inf to constant.builtin | Pedro Castro | 2022-12-31 | 1 | -1/+1 | |
| | | ||||||
| * | r: update highlights | Pedro Castro | 2022-12-31 | 2 | -9/+73 | |
| | | ||||||
| * | docs: link to Matrix instead of Zulip | Stephan Seitz | 2022-12-31 | 1 | -2/+2 | |
| | | ||||||
| * | Update parsers: qmljs (#4064) | github-actions[bot] | 2022-12-31 | 1 | -1/+1 | |
| | | | | Co-authored-by: GitHub <noreply@github.com> | |||||
| * | feat(hcl,terraform): split terraform from hcl, add specialized queries for tf | Michael Hoffmann | 2022-12-29 | 17 | -12/+47 | |
| | | | | | | | | | This enables us to have different queries for terraform and general hcl. It solve the situation where other dialects of hcl (nomad, packer, etc) might use a terraform keyword and get highlighted out of place. | |||||
| * | Update parsers: astro, ocaml, ocaml_interface | GitHub | 2022-12-29 | 1 | -3/+3 | |
| | | ||||||
| * | highlights(haskell): lambda and function with type signature | Ananda Umamil | 2022-12-29 | 1 | -3/+6 | |
| | | ||||||
| * | Update parsers: tlaplus | GitHub | 2022-12-27 | 1 | -1/+1 | |
| | | ||||||
| * | ci: improve CI output on query error | Stephan Seitz | 2022-12-27 | 1 | -2/+3 | |
| | | ||||||
| * | Update slint indent queries | Christian Clason | 2022-12-27 | 2 | -11/+12 | |
| | | ||||||
| * | Update slint highlight queries for rewrite | Jared Moulton | 2022-12-27 | 1 | -42/+50 | |
| | | ||||||
| * | update lockfile (slint) | Jared Moulton | 2022-12-27 | 1 | -1/+1 | |
| | | ||||||
| * | julia: update parser and highlights (#4035) | Sergio A. Vargas | 2022-12-27 | 2 | -17/+26 | |
| | | | | | | | | | | | | | - Update patterns for type definitions: The grammar was updated to parse `abstract type` and `primitive type` as a single token. - Update @symbol capture to highlight quoted operators as symbols. - Add pattern to highlight adjoint operator. - Update patterns and captures for: - "keyword" operators (in, isa, where) - type operators (<:, >:) - Parametrized types. | |||||
| * | feat: allow hot-reloading parser after installation | Stephan Seitz | 2022-12-26 | 1 | -0/+1 | |
| | | ||||||
