feat: add configurable editor idle actions hover and highlight_references
closes #370
This commit is contained in:
parent
06e967a69d
commit
6e78564599
3 changed files with 18 additions and 2 deletions
|
|
@ -19,6 +19,8 @@ inline_diagnostics: bool = true,
|
|||
animation_min_lag: usize = 0, //milliseconds
|
||||
animation_max_lag: usize = 50, //milliseconds
|
||||
hover_time_ms: usize = 500, //milliseconds
|
||||
input_idle_time_ms: usize = 150, //milliseconds
|
||||
idle_actions: []IdleAction = &.{},
|
||||
enable_format_on_save: bool = false,
|
||||
restore_last_cursor_position: bool = true,
|
||||
follow_cursor_on_buffer_switch: bool = false, //scroll cursor into view on buffer switch
|
||||
|
|
@ -46,6 +48,11 @@ lsp_output: enum { quiet, verbose } = .quiet,
|
|||
|
||||
include_files: []const u8 = "",
|
||||
|
||||
pub const IdleAction = enum {
|
||||
hover,
|
||||
highlight_references,
|
||||
};
|
||||
|
||||
pub const DigitStyle = enum {
|
||||
ascii,
|
||||
digital,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue