Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use injection syntax trees for bracket matching | Michael Davis | 2024-01-28 |
| | | | | | | | | Previously we used the root syntax tree for bracket matching. We can use the new functionality in `Syntax` for finding the correct syntax tree for a given byte range though so we use the correct syntax tree within injections. This improves bracket matching behavior within HTML injections like script or style tags for example. | ||
* | ignore empty TS nodes in match bracket | Pascal Kuthe | 2024-01-15 |
| | |||
* | don't crash in plaintext bracket match (mm) on empty file | Pascal Kuthe | 2024-01-15 |
| | |||
* | Reformat with nightly rustfmt for better let-else formatting (#7721) | Philipp Mildenberger | 2023-07-27 |
| | |||
* | make TS matching fallback to plaintext | Pascal Kuthe | 2023-06-22 |
| | |||
* | Avoid false positives in non-fuzzy bracket match | Pascal Kuthe | 2023-06-22 |
| | |||
* | match pairs which don't form a standalone TS node | Pascal Kuthe | 2023-06-22 |
| | |||
* | feat(core): add plaintext matching fallback to tree-sitter matching (#4288) | Alex Vinyals | 2023-06-05 |
| | |||
* | Fix match brackets comment (#1346) | Stuart Hinson | 2021-12-24 |
| | |||
* | Jump to end char of surrounding pair from any cursor pos (#1121) | Martin Junghanns | 2021-11-20 |
| | | | | | | | | | | | | | | | * Jump to end char of surrounding pair from any cursor pos * Separate bracket matching into exact and fuzzy search * Add constants for bracket chars * Abort early if char under cursor is not a bracket * Simplify bracket char validation * Refactor node search and unify find methods * Remove bracket constants | ||
* | Adds single and double quotes to matching pairs (#995) | Daniel S Poulin | 2021-11-08 |
| | | | | This enables `mm` to work on quote characters as well as highlighting of matching quote when on it. | ||
* | Fixes crash on empty rust file. (#592) | Cor Peters | 2021-08-16 |
| | | | | | Fixes #591 Co-authored-by: Cor Peters <luctius@gmail.com> | ||
* | Fix ocassional panic when matching brackets. | Nathan Vegdahl | 2021-07-23 |
| | |||
* | Fix all remaining warnings in helix-core except for two. | Nathan Vegdahl | 2021-07-02 |
| | | | | | I'm not sure how to address them, because they look like they might be bugs, and code is involved. Will poke the relevant people. | ||
* | Remove #[allow(unused)] from helix-core, and fix unused imports. | Nathan Vegdahl | 2021-07-02 |
| | | | | Still a bunch more warnings to fix in core, but it's a start. | ||
* | Don't panic on empty file/buffer (#108) | notoria | 2021-06-05 |
| | |||
* | Convert byte index to char index for `find` | notoria | 2021-06-04 |
| | |||
* | Fix match_brackets::find | notoria | 2021-06-03 |
| | |||
* | minor: Remove a few unwraps. | Blaž Hrastnik | 2021-03-26 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Implement m / match_brackets (using tree sitter). | Blaž Hrastnik | 2021-03-22 |