Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Rewritten Rust `highlights.scm` (#425) | Kirawi | 2021-07-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rewrote Rust highlights.scm * wip * wip * wip * wip * fixed type highlighting * wip * rewrite again * moved operators * missing newline * missing newline * update book * fix constructor highlighting * fix constructor highlighting * fix const highlighting * better constructor highlighting * remove dup, bug was my locals.scm file * fixed docs * merge * fixed for highlighting * add yield * remove yield * added yield back * fixed yield highlighting * unecessary | ||
* | Fix typo on comment in surround | Ivan Tham | 2021-07-03 |
| | |||
* | Fix surround bug when cursor on same pair | Gokul Soumya | 2021-07-03 |
| | | | | | | For example when the cursor is _on_ the `'` in `'word'`, the cursor wouldn't move because the search for a matching pair started _from_ the position of the cursor and simply found itself. | ||
* | Add object selection (textobjects) (#385) | Gokul Soumya | 2021-07-03 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add textobjects for word * Add textobjects for surround characters * Apply clippy lints * Remove ThisWordPrevBound in favor of PrevWordEnd It's the same as PrevWordEnd except for taking the current char into account, so use a "flag" to capture that usecase * Add tests for PrevWordEnd movement * Remove ThisWord* movements They did not preserve anchor positions and were only used for textobject boundary search anyway so replace them with simple position finding functions * Rewrite tests of word textobject * Add tests for surround textobject * Add textobject docs * Refactor textobject word position functions * Apply clippy lints on textobject * Fix overflow error with textobjects | ||
* | `:reload` (#374) | Kirawi | 2021-07-02 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reloading functionality * fn with_newline_eof() * fmt * wip * wip * wip * wip * moved to core, added simd feature for encoding_rs * wip * rm * .gitignore * wip * local wip * wip * wip * no features * wip * nit * remove simd * doc * clippy * clippy * address comments * add indentation & line ending change | ||
* | Add missing import | Perry Thompson | 2021-07-02 |
| | |||
* | Fixed last `unused` warning. | Nathan Vegdahl | 2021-07-02 |
| | |||
* | Fix one of the two remaining warnings. | Nathan Vegdahl | 2021-07-02 |
| | | | | One of them was a lot more obvious than I thought. | ||
* | 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. | ||
* | fix: Correctly merge multiple selection ranges together | Blaž Hrastnik | 2021-06-30 |
| | | | | Fixes #391 | ||
* | Incorporate long word commands into keymap | PabloMansanet | 2021-06-29 |
| | |||
* | Add long word unit tests | PabloMansanet | 2021-06-29 |
| | |||
* | Add long word motion implementation | PabloMansanet | 2021-06-29 |
| | |||
* | fix ca98210d2016d96d1c441932d7a67bbc6e5eccb7 | Blaž Hrastnik | 2021-06-28 |
| | |||
* | fix: insert() | delete() would calculate the new insert incorrectly | Blaž Hrastnik | 2021-06-28 |
| | | | | Refs #386 | ||
* | Don't crash if diagnostics span past EOF | Blaž Hrastnik | 2021-06-28 |
| | |||
* | Extract the merge "operator" into helix-core | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Release 0.3.0 | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Fix silly mistake in previous phantom line bug fix. | Nathan Vegdahl | 2021-06-26 |
| | | | | | Fixes #381. I was trying to change an index value that... wasn't even an index value. | ||
* | Fix highlight code splitting graphemes. | Nathan Vegdahl | 2021-06-26 |
| | | | | | | This resulted in phantom blank lines in files with CRLF line endings, but could potentially have manifested with other graphemes as well. | ||
* | Skip enclosed pairs in surround | Gokul Soumya | 2021-06-24 |
| | | | | | | | | | Surround operations previously ignored other pairs that are enclosed within which should be skipped. For example if the cursor is on the `,` in `{{a},{b}}`, doing `md{` previously would delete the `{` on the left of `a` and `}` on the right of `b` instead of the outermost braces. This commit corrects this behavior. | ||
* | Handle erroneously ignored case in RopeGraphemes iterator. | Nathan Vegdahl | 2021-06-24 |
| | |||
* | fix: crash with ctrl-c on empty file | Blaž Hrastnik | 2021-06-23 |
| | |||
* | Handle non-UTF8 files | Shafkath Shuhan | 2021-06-23 |
| | |||
* | Missed some items in the CRLF PR. | Nathan Vegdahl | 2021-06-23 |
| | |||
* | fix: Select matching at the start of the doc could crash. Fixes #346 | Blaž Hrastnik | 2021-06-23 |
| | |||
* | Correctly identify pairs when cursor on pair | Gokul Soumya | 2021-06-22 |
| | |||
* | Refactor and add tests for surround | Gokul Soumya | 2021-06-22 |
| | |||
* | Add more surround pair characters | Gokul Soumya | 2021-06-22 |
| | |||
* | Add surround keybinds | Gokul Soumya | 2021-06-22 |
| | |||
* | Flesh out the line ending utility unit tests. | Nathan Vegdahl | 2021-06-21 |
| | |||
* | Fix clippy warnings. | Nathan Vegdahl | 2021-06-21 |
| | |||
* | Add function to get the line ending of a str slice. | Nathan Vegdahl | 2021-06-21 |
| | | | | This is needed in some places. | ||
* | Silence clippy warning. | Nathan Vegdahl | 2021-06-20 |
| | |||
* | Merge branch 'master' of github.com:helix-editor/helix into ↵ | Nathan Vegdahl | 2021-06-20 |
|\ | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead. | ||
| * | Re-export unicode crates from helix_core | Blaž Hrastnik | 2021-06-20 |
| | | |||
| * | Only reconfiure highlights when setting theme | wojciechkepka | 2021-06-19 |
| | | |||
| * | Add ability to change theme on editor | wojciechkepka | 2021-06-19 |
| | | |||
* | | Work on moving code over to LineEnding instead of assuming '\n'. | Nathan Vegdahl | 2021-06-20 |
| | | | | | | | | Also some general cleanup and some minor fixes along the way. | ||
* | | Misc fixes and clean up of line ending detect code. | Nathan Vegdahl | 2021-06-20 |
| | | |||
* | | added the line_end helper function | Jan Hrastnik | 2021-06-20 |
| | | |||
* | | changed some hardcoded newlines, removed a else if in line_ending.rs | Jan Hrastnik | 2021-06-19 |
| | | |||
* | | Merge remote-tracking branch 'origin/master' into line_ending_detection | Jan Hrastnik | 2021-06-19 |
|\| | |||
| * | Fix expansion of `~` (#284) | Wojciech Kępka | 2021-06-18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix expansion of `~`, dont use directory relative to cwd. * Add `expand_tilde` * Bring back `canonicalize_path`, use `expand_tilde` to `normalize` * Make `:open ~` completion work * Fix clippy * Fold home dir into tilde in Document `realitve_path` | ||
* | | ran cargo fmt | Jan Hrastnik | 2021-06-19 |
| | | |||
* | | added get_line_ending from pr comment | Jan Hrastnik | 2021-06-19 |
| | | |||
* | | applied changes from pr review | Jan Hrastnik | 2021-06-17 |
| | | |||
* | | trying out line ending helper functions in commands.rs | Jan Hrastnik | 2021-06-16 |
| | | |||
* | | added some tests and a line_ending helper function in document.rs | Jan Hrastnik | 2021-06-16 |
| | |