| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 1 | -114/+0 |
| | | |||||
| * | tests: fix deprecated tests (#4681) | Pham Huy Hoang | 2023-04-20 | 1 | -2/+8 |
| | | |||||
| * | deprecate get_node_range and is_in_node_range | Kiyoon Kim | 2023-02-12 | 1 | -40/+0 |
| | | |||||
| * | 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 | ||||
| * | feat(ts_utils): allow starting selection after last character (#3233) | Axel Dahlberg | 2022-07-29 | 1 | -0/+67 |
| | | |||||
| * | test: Add tests for is_in_node_range (#1756) | partizan | 2021-08-30 | 1 | -0/+41 |
| * fix: is_in_node_range now includes end line and col This fixes no indents at the end of python files Refs #1136 * update scala highlights (#1760) * add type highlights * add call expression highlights * add function definition highlights * add expression highlights * add literals highlights * add operator highlights * add punctuation highlights * add comment highlights Co-authored-by: Stevan Milic <stevan.milic@tradecore.com> * test: Add unit tests * Revert "fix: is_in_node_range now includes end line and col" This reverts commit 5a721fef5620eb2fae6d9cebe09bf7b230f2606f. * refactor test * apply stylua * fix luacheck * update `describe` text * smallfix Co-authored-by: Stevan Milic <stevan.milic@yahoo.com> Co-authored-by: Stevan Milic <stevan.milic@tradecore.com> | |||||
