feat: add completion_insert_mode configuration option
This commit is contained in:
parent
d0abaaee2a
commit
9729bae7be
1 changed files with 6 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ start_debugger_on_crash: bool = false,
|
||||||
|
|
||||||
completion_trigger: CompletionTrigger = .automatic,
|
completion_trigger: CompletionTrigger = .automatic,
|
||||||
completion_style: CompletionStyle = .dropdown,
|
completion_style: CompletionStyle = .dropdown,
|
||||||
|
completion_insert_mode: CompletionInsertMode = .insert,
|
||||||
|
|
||||||
widget_style: WidgetStyle = .compact,
|
widget_style: WidgetStyle = .compact,
|
||||||
palette_style: WidgetStyle = .bars_top_bottom,
|
palette_style: WidgetStyle = .bars_top_bottom,
|
||||||
|
|
@ -182,6 +183,11 @@ pub const CompletionStyle = enum {
|
||||||
dropdown,
|
dropdown,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const CompletionInsertMode = enum {
|
||||||
|
insert,
|
||||||
|
replace,
|
||||||
|
};
|
||||||
|
|
||||||
pub const Alignment = enum {
|
pub const Alignment = enum {
|
||||||
left,
|
left,
|
||||||
right,
|
right,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue