aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* `Document::is_modified` should not check if path is setWojciech Kępka2021-06-13
| | | | If there is a new document we still want to know if there are unsaved changes
* Fix clippyWojciech Kępka2021-06-13
|
* Deduplicate codeWojciech Kępka2021-06-13
|
* Add `qa` and `qa!`Wojciech Kępka2021-06-13
|
* Update write_allWojciech Kępka2021-06-13
|
* Add `Copy` derive to `PromptEvent`Wojciech Kępka2021-06-13
|
* commands: Add more write commandsWojciech Kępka2021-06-13
|
* build(nix): use nix-cargo-integration, make shell.nix use flake devshellYusuf Bera Ertan2021-06-13
|
* Add clarification to last bufferIvan Tham2021-06-13
|
* add symbol picker (#230)Robin2021-06-12
| | | | | | | | | * add symbol picker use the lsp document_symbol request * fix errors from merging in master * add docs for symbol picker
* add alternate file (#223)Robin2021-06-12
| | | | | | | | | | | | | * add alternate file inspired by vim ctrl-6/kak ga commands. the alternate file is kept per view * apply feedback from #223 * rename to last_accessed * add ga doc * add fail message for ga
* Change picker horizontal split to hIvan Tham2021-06-12
| | | Follow window mode and vim behavior, x seemed weird.
* Update READMEWojciech Kępka2021-06-12
|
* Use `runtime` dir when defaulting to executable locationWojciech Kępka2021-06-12
|
* Make `runtime_dir` privateWojciech Kępka2021-06-12
|
* Add more ways to detect runtime directoryWojciech Kępka2021-06-12
|
* lsp: Check bounds when converting lsp positions (#204)Wojciech Kępka2021-06-12
| | | | | | | | | * lsp: Make position conversion funcs return `Option` * Add tests * Fixes * Revert pos_to_lsp_pos to panic
* Add bug report templateBlaž Hrastnik2021-06-12
|
* Fix broken testBlaž Hrastnik2021-06-12
|
* Only auto-format for certain languagesBlaž Hrastnik2021-06-12
| | | | | Fixes #53 Fixes #207
* Add :earlier and :later commands that can be used to navigate the full edit ↵Jakub Bartodziej2021-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | history. (#194) * Disable deleting from an empty buffer which can cause a crash. * Improve on the fix for deleting from the end of the buffer. * Clean up leftover log. * Avoid theoretical underflow. * Implement :before which accepts a time interval and moves the editor to the closest history state to the commit of the current time minus that interval. Current time is now by default, or the commit time if :before has just been used. * Add :earlier an :later commands that can move through the edit history and retrieve changes hidded by undoing and commiting new changes. The commands accept a number of steps or a time period relative to the currrent change. * Fix clippy lint error. * Remove the dependency on parse_duration, add a custom parser instead. * Fix clippy errors. * Make helix_core::history a public module. * Use the helper for getting the current document and view. * Handled some PR comments. * Fix the logic in :later n. Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add an alias for :earlier. Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add an alias for later. Co-authored-by: Ivan Tham <pickfire@riseup.net> * Run cargo fmt. * Add some tests for earlier and later. * Add more tests and restore the fix for later that diappeared somehow. * Use ? instead of a match on an option. Co-authored-by: Ivan Tham <pickfire@riseup.net> * Rename to UndoKind. * Remove the leftover match. * Handle a bunch of review comments. * More systemd.time compliant time units and additional description for the new commands. * A more concise rewrite of the time span parser using ideas from PR discussion. * Replace a match with map_err(). Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Jakub Bartodziej <jqb@google.com> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Movement fixes, refactor and unit test suite (#217)PabloMansanet2021-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Test horizontal moves * Add column jumping tests * Add failing movement conditions for multi-word moves * Refactor skip_over_next * Add complex forward movement unit tests * Add strict whitespace checks and edge case tests * Restore formatting * Remove unused function * Add empty test case for deletion and fix nth_prev_word_boundary * Add tests for backward motion * Refactor word movement * Address review comments and finish refactoring backwards move * Finish unit test suite * Fmt pass * Fix lint erors * Clean up diff restoring bad 'cargo fmt' actions * Simplify movement closures (thanks Pickfire) * Fmt pass * Replace index-based movement with iterator based movement, ensuring that each move incurs a single call to the RopeSlice API * Break down tuple function * Extract common logic to all movement functions * Split iterator helpers away into their own module * WIP reducing clones * Operate on spans * WIP simplifying iterators * Simplify motion helpers * Fix iterator * Fix all unit tests * Refactor and simplify * Simplify fold
* commands: Handle `t<ENTER>` as till newlineWojciech Kępka2021-06-11
|
* Temporarily disable workDoneBlaž Hrastnik2021-06-11
| | | Blows up on gopls because we don't handle receiving window/workDoneProgress/create method calls
* lsp: Display LSP progress messages (#216)Wojciech Kępka2021-06-11
|
* move to first nonwhitespace on shift-iRobin van Dijk2021-06-10
| | | | This matches the behaviour in vim and kak
* Add Nix runtimeTimothy DeHerrera2021-06-10
|
* Add Nix syntaxTimothy DeHerrera2021-06-10
|
* embed runtimeTimothy DeHerrera2021-06-10
|
* ignore Nix outputsTimothy DeHerrera2021-06-10
|
* add overlayTimothy DeHerrera2021-06-10
|
* Fix flake packageTimothy DeHerrera2021-06-10
|
* Downgrade `unicode-segmentation`notoria2021-06-10
|
* Correct tree-sitter-haskell submodulenotoria2021-06-10
|
* Implement missing Debug and update Cargo.locknotoria2021-06-10
|
* Derive debug without featureIvan Tham2021-06-10
| | | | Note that this also removed those `finish_non_exhaustive()`.
* Implement Debug for data structure as a featurenotoria2021-06-10
|
* Reuse a cursor from the pool if available (fixes #202)Blaž Hrastnik2021-06-10
|
* Fix jump behavior, goto_implementation now jumpIvan Tham2021-06-10
| | | | | Better jump behavior since we override the first jump if it's on the first document. At the same time, ctrl-i is now working with gd jumps.
* Fix documentation popup panicwojciechkepka2021-06-10
|
* Only enforce limit outside of .gitKevin Sjöberg2021-06-09
|
* Match keybindings of menuKevin Sjöberg2021-06-09
|
* Fix Shift-Tab for moving upwards in menuKevin Sjöberg2021-06-09
|
* Don't panic on empty documentKevin Sjöberg2021-06-09
|
* Updated elixir queries to fix crashCorey Powell2021-06-08
|
* Fix panic on ctrl-w empty documentIvan Tham2021-06-08
|
* Fix crash when too many completions availableBlaž Hrastnik2021-06-08
| | | | Refs #81
* Support go to line 1Zheming Li2021-06-08
|
* Make `r<ENTER>` workWojciech Kępka2021-06-08
|
* Remove unwanted `as_str`Wojciech Kępka2021-06-08
|