Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-24 |
|\ | |||
| * | mark reloaded buffers as unchanged | Shafkath Shuhan | 2021-07-23 |
| | | |||
* | | Don't insert a final line ending on file load/reload. | Nathan Vegdahl | 2021-07-21 |
| | | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-17 |
|\| | |||
| * | Fix #442 (#446) | Kirawi | 2021-07-15 |
| | | | | | | | | | | | | | | | | | | | | | | * fix #442 fix #442 fmt * create Rope from default line ending * Fix use of encoding in Document::open() | ||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-06 |
|\| | |||
| * | appease clippy | Blaž Hrastnik | 2021-07-05 |
| | | |||
| * | fix: Make path absolute before normalizing | Blaž Hrastnik | 2021-07-05 |
| | | | | | | | | :open ../file.txt failed before because .. would be stripped | ||
| * | fix: When calculating relative path, expand tilde last | Blaž Hrastnik | 2021-07-05 |
| | | |||
| * | `: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 | ||
* | | Fix empty document test. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Make new documents empty, rather than starting with a line ending. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Allow last line in file to lack a line break character. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Make `Selection`'s normalize and transform methods self-consuming only. | Nathan Vegdahl | 2021-07-01 |
| | | |||
* | | Clean up `Selection` to not use so many allocations. | Nathan Vegdahl | 2021-07-01 |
|/ | |||
* | Make Document's format API a little nicer. | Joe Neeman | 2021-06-30 |
| | |||
* | Make formatting happen asynchronously. | Joe Neeman | 2021-06-30 |
| | |||
* | Detect file language before file indent style. | Nathan Vegdahl | 2021-06-26 |
| | | | | | | | Fixes #378. The issue was that because indent style detection ran before language detection, there was no language indent style to fall back on if indent style detection failed, so it would just default to 2 spaces. | ||
* | Move helix-view/tests/*txt files to txts subdirectory (#372) | teenjuna | 2021-06-25 |
| | | | | | * Move helix-view/tests/*txt files to txts subdirectory * Rename tests/txts to tests/encoding | ||
* | Fix previous broken refactor key into helix-view | Ivan Tham | 2021-06-24 |
| | | | | | | | | Need to be used for autoinfo Revert "Revert "Refactor key into helix-view"" This reverts commit 10f9f72232f5789323d689bf0f9cd359715770d6. | ||
* | add missing doc | Shafkath Shuhan | 2021-06-23 |
| | |||
* | Handle non-UTF8 files | Shafkath Shuhan | 2021-06-23 |
| | |||
* | Fix flipped condition where Helix adds a line ending on open. | Nathan Vegdahl | 2021-06-23 |
| | |||
* | Add surround keybinds | Gokul Soumya | 2021-06-22 |
| | |||
* | Add function to get the line ending of a str slice. | Nathan Vegdahl | 2021-06-21 |
| | | | | This is needed in some places. | ||
* | Don't need getters/setters for line_ending property. | Nathan Vegdahl | 2021-06-21 |
| | | | | | It's plain-old-data. If we want to do fancier things later, it's easy to switch back. | ||
* | 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. | ||
| * | Fix doc warnings | Ivan Tham | 2021-06-20 |
| | | |||
| * | Add ability to change theme on editor | wojciechkepka | 2021-06-19 |
| | | |||
| * | Revert "Refactor key into helix-view" | Blaž Hrastnik | 2021-06-19 |
| | | | | | | | | | | | | Did not use defaults when custom keymap was used This reverts commit ca806d4f852e934651132fc9570a6110e30f646d. | ||
* | | 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 |
| | | |||
* | | 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 |
|\| | |||
| * | Refactor key into helix-view | Ivan Tham | 2021-06-19 |
| | | | | | | | | Now also make use of Deserialize for Config. | ||
| * | Add `work_done_token` as parameter to lsp methods | wojciechkepka | 2021-06-18 |
| | | |||
| * | 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` | ||
| * | Configurable keys 2 (Mapping keys to commands) (#268) | PabloMansanet | 2021-06-17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Add keycode parse and display methods * Add remapping functions and tests * Implement key remapping * Add remapping book entry * Use raw string literal for toml * Add command constants * Make command functions private * Map directly to commands * Match key parsing/displaying to Kakoune * Formatting pass * Update documentation * Formatting * Fix example in the book * Refactor into single config file * Formatting * Refactor configuration and add keymap newtype wrappers * Address first batch of PR comments * Replace FromStr with custom deserialize | ||
* | | applied changes from pr review | Jan Hrastnik | 2021-06-17 |
| | | |||
* | | fixed some problems from rebasing | Jan Hrastnik | 2021-06-16 |
| | | |||
* | | doc.line_ending() now returns &'static str | Jan Hrastnik | 2021-06-16 |
| | | |||
* | | 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 |
| | | |||
* | | added more changes from pr review for line_ending_detection | Jan Hrastnik | 2021-06-16 |
| | | |||
* | | resolved conflict in rebase | Jan Hrastnik | 2021-06-16 |
| | | |||
* | | ran cargo clippy and cargo fmt | Jan Hrastnik | 2021-06-16 |
| | | |||
* | | rebase on branch line_ending_detection | Jan Hrastnik | 2021-06-16 |
|/ | |||
* | Cosmetic changes and better comments for the indent auto-detect code. | Nathan Vegdahl | 2021-06-15 |
| | |||
* | Address PR comments. | Nathan Vegdahl | 2021-06-15 |
| | | | | | | - Move char functions into their own module under helix_core. - Use matches!() macro where appropriate. - Use a static lifetime on indent_unit() now that we can. | ||
* | Render indent-style status in status line. | Nathan Vegdahl | 2021-06-15 |
| | | | | Also cleaned up the status line code a little. |