helix-mirror/helix-term/tests/integration.rs
Skyler Hawthorne 7078e84007 Fix YAML auto indent
YAML indents queries are tweaked to fix auto indent behavior.

A new capture type `indent.always` is introduced to address use cases
where combining indent captures on a single line is desired.

Fixes #6661
2023-08-11 06:22:22 +09:00

27 lines
545 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 languages;
mod movement;
mod picker;
mod prompt;
mod splits;
}