aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
* action: copy grammar libraries to runtimekabirz2021-07-17
|
* Changed startup behaviour to only open a single view when multiple files are ↵Cor2021-07-17
| | | | | | specified on the commandline. Changed the behaviour; the first argument on the commandline is the file on display
* Make instructions regarding runtime clearerBlaž Hrastnik2021-07-17
|
* Added change_case command (#441)Cor Peters2021-07-16
| | | | | | | | | | | | | | | | | * Added change_case command * Added switch_to_uppercase and switch_to_lowercase Renamed change_case to switch_case. * Updated the Keymap section of the Book * Use flat_map instead of map + flatten * Fix switch_to_uppercase using to_lowercase * Switched 'Alt-`' to uppercase and '`' to lowercase Co-authored-by: Cor <prive@corpeters.nl>
* Removed double entry of extend_lineCor2021-07-15
|
* Fix #442 (#446)Kirawi2021-07-15
| | | | | | | | | | | * fix #442 fix #442 fmt * create Rope from default line ending * Fix use of encoding in Document::open()
* Update dark_plus.tomlKirawi2021-07-15
| | | Didn't realize what `ui.statusline.active` was for. It's needed for view splits.
* Build ts/tsx again, refactor collect_tree_sitter_dirsBlaž Hrastnik2021-07-14
|
* Fix number highlightingBlaž Hrastnik2021-07-14
|
* Build each grammar in it's own src dirBlaž Hrastnik2021-07-14
| | | | | Windows places temporary files in the current dir, so compiling in parallel caused conflicts.
* Try to rearrange the file order?Blaž Hrastnik2021-07-14
|
* windows: Try building inside OUT_DIR?Blaž Hrastnik2021-07-14
|
* Dynamically load grammar libraries at runtimeBlaž Hrastnik2021-07-14
|
* Bump anyhow from 1.0.41 to 1.0.42dependabot[bot]2021-07-13
| | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.41 to 1.0.42. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.41...1.0.42) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump cc from 1.0.68 to 1.0.69dependabot[bot]2021-07-13
| | | | | | | | | | | | | | Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.68 to 1.0.69. - [Release notes](https://github.com/alexcrichton/cc-rs/releases) - [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.68...1.0.69) --- updated-dependencies: - dependency-name: cc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump tokio-stream from 0.1.6 to 0.1.7dependabot[bot]2021-07-13
| | | | | | | | | | | | | | Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.6 to 0.1.7. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.6...tokio-stream-0.1.7) --- updated-dependencies: - dependency-name: tokio-stream dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump tokio from 1.8.0 to 1.8.1dependabot[bot]2021-07-13
| | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.0...tokio-1.8.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Restore C-w shortcutBlaž Hrastnik2021-07-11
|
* Further simplify error handling in :commandsBlaž Hrastnik2021-07-11
|
* Make command implementation return a Result<()>Lionel Flandrin2021-07-11
| | | | The error message is displayed with cx.editor.set_error.
* Add infobox for viewIvan Tham2021-07-11
|
* Injection Query Support (#430)Kirawi2021-07-11
| | | | | | | | | | | | | | | | | * wip * wip * fixed unsafe * fix clippy * move out reference variable * fmt * remove arc * change safety comment
* Rewritten Rust `highlights.scm` (#425)Kirawi2021-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
* VSCode Dark+ Theme (#414)Kirawi2021-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Add VSCode Dark+ Theme wip wip wip wip wip wip properly detect constants add bool wip * suggestion * add variant for c/c++ * fix hexcode error * removed regex highlight * fixed constant higlighting * wip * add space * add suggestions * update theme * update book * suggestions * fix c/c++ enum * update book
* Add more modes to infoboxIvan Tham2021-07-08
|
* Clean up the default theme definitionBlaž Hrastnik2021-07-06
|
* More responsive key inputIvan Tham2021-07-06
| | | | | | Use biased select!, don't eagerly process lsp message since we want to prioritize user input rather than lsp messages, but still limit rendering for lsp messages.
* Bump tokio from 1.7.1 to 1.8.0dependabot[bot]2021-07-06
| | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.7.1 to 1.8.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.7.1...tokio-1.8.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 unicode-segmentation from 1.7.1 to 1.8.0dependabot[bot]2021-07-06
| | | | | | | | | | | | | | Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.7.1 to 1.8.0. - [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases) - [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/1.7.1...v1.8.0) --- updated-dependencies: - dependency-name: unicode-segmentation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump slotmap from 1.0.3 to 1.0.5dependabot[bot]2021-07-06
| | | | | | | | | | | | | | | Bumps [slotmap](https://github.com/orlp/slotmap) from 1.0.3 to 1.0.5. - [Release notes](https://github.com/orlp/slotmap/releases) - [Changelog](https://github.com/orlp/slotmap/blob/master/RELEASES.md) - [Commits](https://github.com/orlp/slotmap/compare/v1.0.3...v1.0.5) --- updated-dependencies: - dependency-name: slotmap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump thiserror from 1.0.25 to 1.0.26dependabot[bot]2021-07-06
| | | | | | | | | | | | | | Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.25 to 1.0.26. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.25...1.0.26) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* julia language-server line was plain wrongwesh2021-07-05
|