Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | clean up combined-injections comment (#880) | Michael Davis | 2021-10-19 |
| | |||
* | Update mdbook style and fix unreadable table head (#806) | Ivan Tham | 2021-10-09 |
| | | | | | | The styles are now pulled from upstream styles, some of the changes I submitted it back to upstream. Fix #796 | ||
* | Allow `language.config` (in languages.toml) to be passed in as a toml object ↵ | Midnight Exigent | 2021-10-08 |
| | | | | | | | | | | | | | (#807) * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master | ||
* | Implement 'remove_primary_selection' as Alt-, | Blaž Hrastnik | 2021-09-24 |
| | | | | | | This allows removing search matches from the selection Fixes #713 | ||
* | ... | Blaž Hrastnik | 2021-09-16 |
| | |||
* | Fix broken test | Blaž Hrastnik | 2021-09-16 |
| | |||
* | syntax: Properly handle injection-regex for language injections | Blaž Hrastnik | 2021-09-16 |
| | |||
* | fix: Need to reset set_byte_range in case cursor_ref is reused. | Blaž Hrastnik | 2021-09-13 |
| | |||
* | syntax: Add go & rust locals, improve tree-sitter error message | Blaž Hrastnik | 2021-09-06 |
| | |||
* | fix: tree-sitter-scopes would infinitely loop | Blaž Hrastnik | 2021-09-06 |
| | |||
* | Update tree-sitter to 0.20 | Blaž Hrastnik | 2021-09-06 |
| | | | | | 0.20 includes querying improvements, we no longer have to convert fragments to strings but can return an iterator of chunks instead. | ||
* | remove unsafe | Brian Shu | 2021-08-27 |
| | |||
* | feat: merge default languages.toml with user provided languages.toml, add a ↵ | Yusuf Bera Ertan | 2021-08-26 |
| | | | | | | | | | | | generic TOML value merge function (#654) * feat: merge default languages.toml with user provided languages.toml * refactor: use catch-all to override all other values for merge toml * tests: add a test case for merging languages configs * refactor: change test module name | ||
* | Fix tests broken by the State change | Blaž Hrastnik | 2021-08-26 |
| | |||
* | Reduce State use a bit further | Blaž Hrastnik | 2021-08-26 |
| | | | | This is a legacy type that should be fully removed. | ||
* | Move path util functions from helix-term to helix-core (#650) | Kirawi | 2021-08-25 |
| | |||
* | Fix auto pairs return wrong selection (#613) | langbamit | 2021-08-18 |
| | |||
* | Fixes crash on empty rust file. (#592) | Cor Peters | 2021-08-16 |
| | | | | | Fixes #591 Co-authored-by: Cor Peters <luctius@gmail.com> | ||
* | Appease clippy | Blaž Hrastnik | 2021-08-13 |
| | |||
* | Add :tree-sitter-scopes, useful when developing indents.toml | Blaž Hrastnik | 2021-08-13 |
| | |||
* | fix: tree sitter rendering glitches with multiple selection edits | Blaž Hrastnik | 2021-08-13 |
| | |||
* | Document `pos_at_coords` better. | Nathan Vegdahl | 2021-08-09 |
| | | | | | Particularly the effect of the `limit_before_line_ending` parameter. | ||
* | Fix around-word text-object selection. (#546) | Nathan Vegdahl | 2021-08-06 |
| | | | | | | | | | | | | | * Fix around-word text-object selection. * Text object around-word: select to the left if no whitespace on the right. Also only select around when there's whitespace at all. * Make select-word-around select all white space on a side. * Update commented-out test case. * Fix unused import warning from rebase. | ||
* | Fix buggy surround behavior from #376. | Nathan Vegdahl | 2021-08-04 |
| | | | | Fixes #543. | ||
* | mouse: Remove verify_screen_coords, refactor primary selection modification | Blaž Hrastnik | 2021-07-30 |
| | |||
* | Remove embed_runtime feature | Blaž Hrastnik | 2021-07-30 |
| | | | | It's no longer practical to maintain. Closes #451 | ||
* | Move indent-style code into `helix_core::indent`. | Nathan Vegdahl | 2021-07-30 |
| | |||
* | Fixes for new clippy lints in Rust 1.54. | Nathan Vegdahl | 2021-07-29 |
| | |||
* | Enforce cursor/selection invariants in one place. | Nathan Vegdahl | 2021-07-28 |
| | | | | Rather than per-command like before. | ||
* | Minor cleanup of the vertical movement code. | Nathan Vegdahl | 2021-07-27 |
| | |||
* | Use `match` for branching on the `Direction` enum in more places. | Nathan Vegdahl | 2021-07-27 |
| | |||
* | Add unit tests for some of the new `Range` methods. | Nathan Vegdahl | 2021-07-27 |
| | |||
* | Improve `Range` documentation and organization. | Nathan Vegdahl | 2021-07-27 |
| | |||
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-26 |
|\ | |||
| * | Fix append newline indent | Ivan Tham | 2021-07-26 |
| | | | | | | | | Fix #492 | ||
| * | Implement in-memory prompt history | Blaž Hrastnik | 2021-07-26 |
| | | | | | | | | | | Implementation is similar to kakoune: we store the entries into a register. | ||
| * | Determine whether to use a margin of 0 or 1 when uncommenting (#476) | Omnikar | 2021-07-26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement `margin` calculation for uncommenting * Move `margin` calculation to `find_line_comment` * Fix comment bug with multiple selections on a line * Fix `find_line_comment` test for new return type * Generate a single vec of lines for comment toggle `toggle_line_comments` collects the lines covered by all selections into a `Vec`, skipping duplicates. `find_line_comment` now returns the lines to operate on, instead of returning the lines to skip. * Fix test for `find_line_comment` * Reserve length of `to_change` instead of `lines` The length of `lines` includes blank lines which will be skipped, and as such do not need space for a change reserved for them. `to_change` includes only the lines which will be changed. * Use `token.chars().count()` for token char length * Create `changes` with capacity instead of reserving * Remove unnecessary clones in `test_find_line_comment` * Add test case for 0 margin comments * Add comments explaining `find_line_comment` | ||
* | | Address some PR comments. | Nathan Vegdahl | 2021-07-26 |
| | | |||
* | | Collect some common patterns into methods on `Range`. | Nathan Vegdahl | 2021-07-26 |
| | | |||
* | | Switch to a cleaner range-head moving abstraction. | Nathan Vegdahl | 2021-07-24 |
| | | | | | | | | Also fix a bunch of bugs related to it. | ||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-24 |
|\| | |||
| * | The item `fmt` was imported redundantly | fossdd | 2021-07-22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed warning: ``` warning: the item `fmt` is imported redundantly --> helix-core/src/syntax.rs:98:9 | 16 | fmt, | --- the item `fmt` is already imported here ... 98 | use std::fmt; | ^^^^^^^^ | ``` | ||
* | | Fix append mode, and make insertion always happen at head of range. | Nathan Vegdahl | 2021-07-23 |
| | | |||
* | | Fix ocassional panic when matching brackets. | Nathan Vegdahl | 2021-07-23 |
| | | |||
* | | Revert display-width-based vertical cursor movement. | Nathan Vegdahl | 2021-07-22 |
| | | | | | | | | Still needs to be done, but should be part of a separate PR. | ||
* | | Calculate the line that the range head is on correctly. | Nathan Vegdahl | 2021-07-22 |
| | | |||
* | | Fix selections not being modified quite correctly with text edits. | Nathan Vegdahl | 2021-07-21 |
| | | |||
* | | Fixes for misc bugs with view movement. | Nathan Vegdahl | 2021-07-21 |
| | | |||
* | | Fix comment toggle command also sometimes toggling the next line. | Nathan Vegdahl | 2021-07-20 |
| | | |||
* | | Fix various bugs related to goto-end-of-line command. | Nathan Vegdahl | 2021-07-20 |
| | | | | | | | | | | This also fixes a bug with `Selection::normalize()`, that could result in an out-of-bounds primary index. |