mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-24 02:16:18 +04:00
aa4d84a0b3
* fix(picker): `alt-ret' changes cursor pos of current file, not new one Closes #7673 * fix other pickers * symbol pickers * diagnostick pickers This is done using the already patched `jump_to_location` method. * fix global and jumplist pickers * use `view` as old_id; make `align_view` method of `Action` * test(picker): basic <alt-ret> functionality * fix: picker integrational test * fix nit Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
26 lines
526 B
Rust
26 lines
526 B
Rust
#[cfg(feature = "integration")]
|
|
mod test {
|
|
mod helpers;
|
|
|
|
use helix_core::{syntax::AutoPairConfig, Selection};
|
|
use helix_term::config::Config;
|
|
|
|
use indoc::indoc;
|
|
|
|
use self::helpers::*;
|
|
|
|
#[tokio::test(flavor = "multi_thread")]
|
|
async fn hello_world() -> anyhow::Result<()> {
|
|
test(("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#")).await?;
|
|
Ok(())
|
|
}
|
|
|
|
mod auto_indent;
|
|
mod auto_pairs;
|
|
mod commands;
|
|
mod movement;
|
|
mod picker;
|
|
mod prompt;
|
|
mod splits;
|
|
}
|