aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add `work_done_token` as parameter to lsp methodswojciechkepka2021-06-18
|
* Add `MethodCall`, `ProgressStatus`, `LspProgressMap`wojciechkepka2021-06-18
|
* Fix expansion of `~` (#284)Wojciech Kępka2021-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`
* Fix panic when entering unicode in command promptBenoît CORTIER2021-06-18
| | | | | | | It was attempted to use `String::insert` and `String::remove` to insert without taking care of unicodes. Fixes https://github.com/helix-editor/helix/issues/282
* Replace `Editor::current` by a macroBenoît CORTIER2021-06-18
| | | | | | | | | This is necessary to workaround ownership issues across function calls. The issue notably arised when implementing the registers into `Editor` and I was getting annoyed again when implementing copy/pasting into system clipboard. The problem is addressed by using macro calls instead of function calls. There is no notable side effect.
* Fix typos in Markdown documentationPerry Thompson2021-06-17
|
* Add homebrew tap instructions againBlaž Hrastnik2021-06-17
|
* Configurable keys 2 (Mapping keys to commands) (#268)PabloMansanet2021-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
* Let o, O take counts for multiple cursorsGokul Soumya2021-06-17
|
* Fix cursor position bugs related to o and OGokul Soumya2021-06-17
| | | | | | | - `O` at the beginning of file didn't move cursor - `o` and `O` messed up cursor position with multiple cursors Fixes #127
* Add latexIvan Tham2021-06-16
|
* Add theme key for selected line numberGokul Soumya2021-06-16
| | | | | | | | | | | Adds `ui.linenr.selected` which controls highlight of linu numbes which have cursors on. - Fallback to linenr if linenr.selected is missing - Update docs and themes - Add TODOs for themes with temporary linenr.selected
* Add other cursor shapeIvan Tham2021-06-15
|
* Add cursor kind to separate hidden cursor from posIvan Tham2021-06-15
| | | | | Now IME cursor position should be correct since we can still set cursor position without drawing the cursor.
* Remove RwLock for registersBenoît CORTIER2021-06-15
| | | | | | | | Registers are stored inside `Editor` and accessed without `RwLock`. To work around ownership, I added a sister method to `Editor::current`: `Editor::current_with_context`. I tried to modify `Editor::current` directly but it's used at a lot of places so I reverted into this for now at least.
* Use `_impl` suffix instead of `_` prefixBenoît CORTIER2021-06-15
| | | | | | Helpers / internal implementations where using the `_` prefix. However, this prefix also suppress unused warnings. I suggest we use the `_impl` suffix instead.
* Format docs for better readabilityGokul Soumya2021-06-15
| | | | | | - Wrapped appropriate table elements in inline code blocks - Added links to different modes - Capitalised table elements
* Remove unused variablesIvan Tham2021-06-15
|
* Add filter ability to pickerIvan Tham2021-06-15
| | | | Inspired by doom emacs. Able to filter picker options multiple times.
* Report indent style when calling indent-style with no arguments.Nathan Vegdahl2021-06-15
| | | | Also print an error message when the argument is malformed.
* Address PR comments.Nathan Vegdahl2021-06-15
| | | | | | * Clean up "indent-style" command argument parsing. * Adjust command's name to match the style of other commands. * Add a "0" alias to the command, for tabs indent style.
* Cosmetic changes and better comments for the indent auto-detect code.Nathan Vegdahl2021-06-15
|
* Remove indent style status-line display for now.Nathan Vegdahl2021-06-15
|
* Address PR comments.Nathan Vegdahl2021-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.
* Implement command to change the indent-style setting of a document.Nathan Vegdahl2021-06-15
|
* Render indent-style status in status line.Nathan Vegdahl2021-06-15
| | | | Also cleaned up the status line code a little.
* Fix clippy warnings.Nathan Vegdahl2021-06-15
|
* Attempt to auto-detect indentation style on document load.Nathan Vegdahl2021-06-15
| | | | This also moves the primary indentation-style setting into Document.
* Add ctrl-w for promptIvan Tham2021-06-14
|
* fix: wq/wqa functions need to wait for save to finish before closingBlaž Hrastnik2021-06-14
|
* Add ui.selection to theme.tomlGokul Soumya2021-06-14
| | | | | Enables changing the color of the selection which was previously hard coded.
* Refactor keymap definitions using macrosGokul Soumya2021-06-14
| | | | | Adds a macro rule to the `key!` macro so that keymaps using `Left`, `Home`, `Esc`, etc. will also be accepted.
* Correct onedark theme file locationGokul Soumya2021-06-14
|
* Bump once_cell from 1.7.2 to 1.8.0 (#255)dependabot[bot]2021-06-14
| | | | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.7.2 to 1.8.0. - [Release notes](https://github.com/matklad/once_cell/releases) - [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md) - [Commits](https://github.com/matklad/once_cell/compare/v1.7.2...v1.8.0) --- updated-dependencies: - dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add onedark themeGokul Soumya2021-06-14
|
* Bump anyhow from 1.0.40 to 1.0.41dependabot[bot]2021-06-14
| | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.40 to 1.0.41. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.40...1.0.41) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump crossterm from 0.19.0 to 0.20.0dependabot[bot]2021-06-14
| | | | | | | | | | | | | | | Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.19.0 to 0.20.0. - [Release notes](https://github.com/crossterm-rs/crossterm/releases) - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossterm-rs/crossterm/compare/0.19...0.20) --- updated-dependencies: - dependency-name: crossterm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump lsp-types from 0.89.1 to 0.89.2dependabot[bot]2021-06-14
| | | | | | | | | | | | | | | Bumps [lsp-types](https://github.com/gluon-lang/lsp-types) from 0.89.1 to 0.89.2. - [Release notes](https://github.com/gluon-lang/lsp-types/releases) - [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md) - [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.89.1...v0.89.2) --- updated-dependencies: - dependency-name: lsp-types dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump ignore from 0.4.17 to 0.4.18dependabot[bot]2021-06-14
| | | | | | | | | | | | | | | Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.17 to 0.4.18. - [Release notes](https://github.com/BurntSushi/ripgrep/releases) - [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.17...ignore-0.4.18) --- updated-dependencies: - dependency-name: ignore dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Fix a typo in theme nameWojciech Kępka2021-06-14
|
* fix offset by one problem in replace_with_yankedAndreas Liljeqvist2021-06-14
|
* Add `bogster` themeWojciech Kępka2021-06-14
|
* chore(nix): update nixCargoIntegration inputYusuf Bera Ertan2021-06-13
|
* Release v0.2.0Blaž Hrastnik2021-06-13
|
* ui: Prompt should figure out a reasonable column widthBlaž Hrastnik2021-06-13
| | | | | Fixes #192 Refs #225
* Fix `wq`Wojciech Kępka2021-06-13
|
* `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
|