aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | Make vertical selection movement work properly.Nathan Vegdahl2021-07-06
| | | | | | | | |
| * | | | | | | | Make horizontal selection movement work properly.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Fix empty document test.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Make new documents empty, rather than starting with a line ending.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Allow last line in file to lack a line break character.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Fix a couple additional `unused` warnings after merge.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-02
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Ensure a minimum selection width on commands that need it.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Make `Selection`'s normalize and transform methods self-consuming only.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Clean up `Selection` to not use so many allocations.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Better validation method APIs for `Range`.Nathan Vegdahl2021-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way they do less work, are more specific to what we actually need, and they compose.
| * | | | | | | | | Add `Range` methods for various kinds of validation.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Change the `Range` type and associated functions to gap indexing.Nathan Vegdahl2021-07-01
| | | | | | | | | |
* | | | | | | | | | Refactor case where key event is solely a characterGokul Soumya2021-07-29
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Fix goto line numberGokul Soumya2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression from #454. Go to line 10 with `10gg` or `10G`.
* | | | | | | | | Quite edit pageIvan Tham2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Stolen from https://github.com/rust-lang/wg-async-foundations/pull/225
* | | | | | | | | Show pending keys in status line (#515)Gokul Soumya2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show pending keys and counts in status line * Refactor pending key display
* | | | | | | | | Update keyboard.rs (#516)Rust & Python2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix doc comment typo
* | | | | | | | | Bump futures-executor from 0.3.15 to 0.3.16dependabot[bot]2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [futures-executor](https://github.com/rust-lang/futures-rs) from 0.3.15 to 0.3.16. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.16) --- updated-dependencies: - dependency-name: futures-executor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | | Bump tokio from 1.8.2 to 1.9.0dependabot[bot]2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.2 to 1.9.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.2...tokio-1.9.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | | Bump jsonrpc-core from 17.1.0 to 18.0.0dependabot[bot]2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc) from 17.1.0 to 18.0.0. - [Release notes](https://github.com/paritytech/jsonrpc/releases) - [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-core-17.1.0...v18.0.0) --- updated-dependencies: - dependency-name: jsonrpc-core dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | | Bump futures-util from 0.3.15 to 0.3.16dependabot[bot]2021-07-27
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.15 to 0.3.16. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.16) --- updated-dependencies: - dependency-name: futures-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | Allow multi key remappings in config file (#454)Gokul Soumya2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use tree like structure to store keymaps * Allow multi key keymaps in config file * Allow multi key keymaps in insert mode * Make keymap state self contained * Add keymap! macro for ergonomic declaration * Add descriptions for editor commands * Allow keymap! to take multiple keys * Restore infobox display * Fix keymap merging and add infobox titles * Fix and add tests for keymaps * Clean up comments and apply suggestions * Allow trailing commas in keymap! * Remove mode suffixes from keymaps * Preserve order of keys when showing infobox * Make command descriptions smaller * Strip infobox title prefix from items * Strip infobox title prefix from items
* | | | | | | | fix: change primary cursor color in bogster themegbaranski2021-07-26
| | | | | | | |
* | | | | | | | Fix append newline indentIvan Tham2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #492
* | | | | | | | Implement in-memory prompt historyBlaž Hrastnik2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation is similar to kakoune: we store the entries into a register.
* | | | | | | | rust: Indent multi line call expressions one level deeperBlaž Hrastnik2021-07-26
| | | | | | | |
* | | | | | | | Improve rust indentation queriesBlaž Hrastnik2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if/if let are already handled by block, and keeping these scopes would indent else blocks one level too far.
* | | | | | | | Determine whether to use a margin of 0 or 1 when uncommenting (#476)Omnikar2021-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`
* | | | | | | | fix(term): undo-ing code actionsGokul Soumya2021-07-25
| | | | | | | |
* | | | | | | | fix(term): use existing implementation of edits_to_transactiongbaranski2021-07-25
| | | | | | | |
* | | | | | | | build(nix): fix build issuesYusuf Bera Ertan2021-07-25
| | | | | | | |
* | | | | | | | Add missing keybinds to docsGokul Soumya2021-07-24
| | | | | | | |
* | | | | | | | feat: code actions - document edits (#478)Grzegorz Baranski2021-07-24
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip: Code actions * fix(term): use current macro instead Context::context * feat(lsp): set code_action capabilities * feat(term): set SPC-a to code_action * feat(term): wip on applying code actions * deps: `cargo update` * feat(term): applying code actions edits * fix(term): cleanup of apply_edit * fix(term): applying edits as a whole thing instead one by one * refactor(term): move apply_edits below * fix(term): improve unimplemented messages for further investigation * fix(term): change code action command comment Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix(term): add matching `}` * fix(term): cleanup, todo!() on workspace edit * fix(term): remove unrelated workspace_symbol_picker * fix(term): apply cargo-clippy suggestions * fix(term): replace todo!'s with editor.set_error Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* | | | | | | Simplify replace dashes with underscoreIvan Tham2021-07-23
| | | | | | |
* | | | | | | fix: ui/menu: Don't allow scrolling past the end of completionBlaž Hrastnik2021-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #472
* | | | | | | Add rustfmt.toml to force formatting to use rustfmt defaultsBlaž Hrastnik2021-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #480
* | | | | | | fix: Only try expanding directory completion if it makes senseBlaž Hrastnik2021-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #487
* | | | | | | Simplify ui/menu.rsBlaž Hrastnik2021-07-23
| | | | | | |
* | | | | | | mark reloaded buffers as unchangedShafkath Shuhan2021-07-23
| | | | | | |
* | | | | | | The item `fmt` was imported redundantlyfossdd2021-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; | ^^^^^^^^ | ```
* | | | | | | Resume last pickerIvan Tham2021-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Inspired by space ' in doom emacs.
* | | | | | | Update dark_plus.tomlKirawi2021-07-21
| |_|_|_|_|/ |/| | | | | | | | | | | Corrects primary selection color and makes matching cursor easier to spot.
* | | | | | Fix typoIvan Tham2021-07-20
| | | | | |
* | | | | | Fixes toggle_comment not finding the correct language comment tokenLuctius2021-07-20
| | | | | |
* | | | | | Bump tokio from 1.8.1 to 1.8.2dependabot[bot]2021-07-20
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.1 to 1.8.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.1...tokio-1.8.2) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | Calculate completion popup sizingBlaž Hrastnik2021-07-19
| | | | | | | | | | | | | | | | | | | | Fixes #220
* | | | | Remove ExactSizeIterator requirement on Transaction::changeBlaž Hrastnik2021-07-19
| | | | | | | | | | | | | | | | | | | | Size hint is enough.
* | | | | Made toggle_comments language dependent (#463)Cor Peters2021-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made toggle_comments language dependent * Fixed Test Cases * Added clippy suggestion * Small Fixes * Clippy Suggestion Co-authored-by: Cor <prive@corpeters.nl>
* | | | | Added option to provide a custom config file to the lsp. (#460)Cor Peters2021-07-18
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added option to provide a custom config file to the lsp. * Simplified lsp loading routine with anyhow * Moved config to language.toml * Fixed test case * Cargo fmt * Revert now-useless changes * Renamed custom_config to config Co-authored-by: Cor <prive@corpeters.nl>