From 171d28d2bdefa59ebada9eee13ef7e5cbdf0c0af Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Sat, 11 Mar 2023 03:34:43 +0100 Subject: indent snippets to line indent instead of completion start (#6263) --- helix-term/src/ui/completion.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-term') diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs index 6303793b..da6b5ddc 100644 --- a/helix-term/src/ui/completion.rs +++ b/helix-term/src/ui/completion.rs @@ -182,6 +182,7 @@ impl Completion { doc.line_ending.as_str(), include_placeholder, doc.tab_width(), + doc.indent_width(), ), Err(err) => { log::error!( -- cgit v1.2.3-70-g09d2