From 6a4755ec3ee4c8214d76bf8b0461534490df47dd Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 12 Jul 2025 21:00:14 -0400 Subject: add autoconfirm_edits configuration option Some language servers replace the whole file content on an edit, thus producing potentially really big diffs not suitable for review and user confirmation. So some users may just accept the changes proposed from the language server. --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 6825aef..8475982 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ Available options are: * `autostart = true` - try to start a language server in WIN_OPEN * `menu_cmd = 'fzf' or 'vis-menu'` - program to prompt for user choices * `confirm_cmd = 'vis-menu'` - program to prompt for user confirmation +* `autoconfirm_edits = false` - apply workspaceEdits without user confirmation * `ls_map` - a table mapping `vis` syntax names to language server configurations * `highlight_diagnostics = 'line'` - highlight the `range` or `line`number of available diagnostics * `diagnostic_style_id = nil` - vis style id used to highlight diagnostics, win.STYLE_LEXER_MAX is used by default -- cgit v1.2.3