feat: add configuration options for completion trigger and style

This commit is contained in:
CJ van den Berg 2025-12-18 15:23:15 +01:00
parent 1f67c8e2ce
commit 9a5c634ea7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -51,6 +51,9 @@ scrollbar_auto_hide: bool = false,
start_debugger_on_crash: bool = false,
completion_trigger: CompletionTrigger = .manual,
completion_style: CompletionStyle = .palette,
widget_style: WidgetStyle = .compact,
palette_style: WidgetStyle = .bars_top_bottom,
dropdown_style: WidgetStyle = .compact,
@ -161,3 +164,13 @@ pub const InitialFindQuery = enum {
last_query,
selection_or_last_query,
};
pub const CompletionTrigger = enum {
manual,
automatic,
};
pub const CompletionStyle = enum {
palette,
inplace,
};