feat: add configuration options for completion trigger and style
This commit is contained in:
parent
1f67c8e2ce
commit
9a5c634ea7
1 changed files with 13 additions and 0 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue