feat: add ability to alter lsp file operation timeout (#317)
* feat: add ability to alter lsp file operation timeout * change default * fix table * add missing * move inside table * remove duplicate * reuse default * change message * refactor: rename autosave config option --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
This commit is contained in:
parent
132b4ea074
commit
29a06fcc90
4 changed files with 35 additions and 13 deletions
10
doc/oil.txt
10
doc/oil.txt
|
|
@ -54,9 +54,13 @@ CONFIG *oil-confi
|
|||
-- You can set the delay to false to disable cleanup entirely
|
||||
-- Note that the cleanup process only starts when none of the oil buffers are currently displayed
|
||||
cleanup_delay_ms = 2000,
|
||||
-- Set to true to autosave buffers that are updated with LSP willRenameFiles
|
||||
-- Set to "unmodified" to only save unmodified buffers
|
||||
lsp_rename_autosave = false,
|
||||
lsp_file_methods = {
|
||||
-- Time to wait for LSP file operations to complete before skipping
|
||||
timeout_ms = 1000,
|
||||
-- Set to true to autosave buffers that are updated with LSP willRenameFiles
|
||||
-- Set to "unmodified" to only save unmodified buffers
|
||||
autosave_changes = false,
|
||||
},
|
||||
-- Constrain the cursor to the editable parts of the oil buffer
|
||||
-- Set to `false` to disable, or "name" to keep it on the file names
|
||||
constrain_cursor = "editable",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue