diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-12 21:00:14 -0400 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-12 21:00:14 -0400 |
| commit | 6a4755ec3ee4c8214d76bf8b0461534490df47dd (patch) | |
| tree | 681d3e2557544e7008dba8644a98f0f37a1f2b37 /lspc.lua | |
| parent | 05f2d8e253c3523e63ea08018f8bb9d23f6659b5 (diff) | |
| download | vis-lspc-6a4755ec3ee4c8214d76bf8b0461534490df47dd.tar.gz vis-lspc-6a4755ec3ee4c8214d76bf8b0461534490df47dd.zip | |
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.
Diffstat (limited to 'lspc.lua')
| -rw-r--r-- | lspc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,6 +23,8 @@ local lspc = { menu_cmd = 'vis-menu -l 10', -- program used to ask the user for confirmation confirm_cmd = 'vis-menu', + -- apply workspaceEdits without confirmation + autoconfirm_edits = false, -- should diagnostics be highlighted if available highlight_diagnostics = 'line', |
