| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | properly replace deprecated tsutils functions | Kiyoon Kim | 2023-02-12 | 2 | -4/+4 |
| | | |||||
| * | deprecate get_node_range and is_in_node_range | Kiyoon Kim | 2023-02-12 | 1 | -40/+0 |
| | | |||||
| * | simplify tests | Alvaro Muñoz | 2023-01-31 | 3 | -13/+2 |
| | | |||||
| * | update tests | Alvaro Muñoz | 2023-01-31 | 2 | -1/+6 |
| | | |||||
| * | fix tests | Alvaro Muñoz | 2023-01-31 | 2 | -4/+1 |
| | | |||||
| * | add ql indent tests | Alvaro Muñoz | 2023-01-31 | 3 | -0/+36 |
| | | |||||
| * | indents(c): update if cases | Pham Huy Hoang | 2023-01-14 | 1 | -0/+5 |
| | | |||||
| * | indents(c): Refactor indent queries | Pham Huy Hoang | 2023-01-14 | 5 | -3/+103 |
| | | |||||
| * | Update indent-square-brackets.rb | Cameron | 2023-01-09 | 1 | -1/+1 |
| | | |||||
| * | Create indent-square-brackets.rb | Cameron | 2023-01-09 | 1 | -0/+5 |
| | | |||||
| * | 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 | 1 | -0/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 |
| | | |||||
| * | fix(jsx): add missing indent end mark to elements | Pham Huy Hoang | 2023-01-04 | 4 | -0/+87 |
| | | |||||
| * | fix(html): fix wrong indents for script/style tags | Pham Huy Hoang | 2023-01-03 | 5 | -0/+66 |
| | | |||||
| * | refactor(svelte): Remove duplicated queries | Lucario387 | 2023-01-03 | 1 | -0/+39 |
| | | | | | | | 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 | 1 | -0/+45 |
| | | | | | | | | 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> | ||||
| * | highlights(rust): use `@namespace` for `[(crate) (self) (super)]` | Stephan Seitz | 2023-01-01 | 1 | -15/+33 |
| | | | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3992 | ||||
| * | ci: allow negative assertions in tests | Stephan Seitz | 2023-01-01 | 1 | -0/+12 |
| | | |||||
| * | move 'in' to repeat | Pedro Castro | 2022-12-31 | 1 | -1/+1 |
| | | |||||
| * | fix test | Pedro Castro | 2022-12-31 | 1 | -1/+1 |
| | | |||||
| * | r: update highlights | Pedro Castro | 2022-12-31 | 1 | -0/+47 |
| | | |||||
| * | feat(hcl,terraform): split terraform from hcl, add specialized queries for tf | Michael Hoffmann | 2022-12-29 | 9 | -2/+2 |
| | | | | | | | | | 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. | ||||
| * | Fix(vue): Invalid match queries | Lucario387 | 2022-12-25 | 1 | -7/+34 |
| | | |||||
| * | add test file | Lucario387 | 2022-12-25 | 1 | -0/+41 |
| | | |||||
| * | feat(t32): initial support | xasc | 2022-12-21 | 4 | -0/+177 |
| | | |||||
| * | indents(ecma): Fix switch default indent | Raymond Ha | 2022-12-07 | 1 | -0/+8 |
| | | |||||
| * | highlights: create subscoping for ternary operator | Stephan Seitz | 2022-12-02 | 1 | -2/+2 |
| | | | | | | | | | | | After https://github.com/nvim-treesitter/nvim-treesitter/issues/470, we decided to use `@conditional` for ternary operator instead of operator despite `@conditional` is documented for keywords only. A sub-scoping can make it easier for people to highlight this operator group differently. Also unify the usage of `@conditional...` across languages. | ||||
| * | test(highlights/cpp): add new test for auto as type.builtin. | Aaron Rancsik | 2022-12-01 | 1 | -0/+1 |
| | | |||||
| * | test(highlights/cpp): type -> type.builtin for primitive types. | Aaron Rancsik | 2022-12-01 | 1 | -2/+2 |
| | | |||||
| * | indents(r): support special operator | Pedro Castro | 2022-11-29 | 2 | -0/+4 |
| | | | | | Close #3879 | ||||
| * | highlights(hack): fix captures | ObserverOfTime | 2022-11-26 | 2 | -5/+5 |
| | | |||||
| * | highlights(solidity): use more specific groups | ObserverOfTime | 2022-11-26 | 1 | -3/+3 |
| | | |||||
| * | highlights(tiger): fix captures | ObserverOfTime | 2022-11-26 | 3 | -4/+4 |
| | | |||||
| * | highlights(gleam): use more specific groups | ObserverOfTime | 2022-11-26 | 2 | -9/+9 |
| | | |||||
| * | highlights(cpp): use more specific groups | ObserverOfTime | 2022-11-26 | 1 | -1/+1 |
| | | |||||
| * | highlights(gitattributes): fix captures | ObserverOfTime | 2022-11-26 | 1 | -3/+3 |
| | | |||||
| * | highlights(typescript): Fix as highlight | Raymond Ha | 2022-11-25 | 1 | -0/+8 |
| | | |||||
| * | highlights(ecma): add pair_pattern punctuation.delimiter | Munif Tanjim | 2022-10-17 | 1 | -0/+7 |
| | | |||||
| * | feat!: remove obsolete `TS*` highlight groups | Christian Clason | 2022-10-16 | 4 | -26/+24 |
| | | |||||
| * | test(gitattributes): add tests for highlights | ObserverOfTime | 2022-10-15 | 1 | -0/+37 |
| | | |||||
| * | highlights(rust): distinguish between "for" in loops and impl_item | Stephan Seitz | 2022-10-15 | 1 | -0/+15 |
| | | | | | Fixes #3641 | ||||
| * | fix(php): add indent for enums | gbprod | 2022-10-10 | 2 | -0/+5 |
| | | |||||
| * | Fix php indent for short array declaration | gbprod | 2022-10-06 | 2 | -0/+6 |
| | | |||||
| * | fix(test): update tests to Nvim 0.8 | Christian Clason | 2022-10-02 | 1 | -3/+3 |
| | | |||||
| * | indents(wgsl): add indents.scm | Stephan Seitz | 2022-09-28 | 2 | -0/+62 |
| | | |||||
| * | highlights(hack): use `@function.call`/`@method.call` | Stephan Seitz | 2022-09-11 | 1 | -1/+1 |
| | | |||||
| * | highlights(ecma): use `@method.call`/`function.call` | Stephan Seitz | 2022-09-11 | 1 | -2/+2 |
| | | |||||
