aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
authorFlorian Fischer <gitlab@muhq.space>2024-04-08 17:35:25 +0000
committerFlorian Fischer <gitlab@muhq.space>2024-04-08 17:35:25 +0000
commitd36c417bc662a720a0bfdd60cbc8c1dc6c915041 (patch)
treee5d92f9779cdd18d34f459e523247fb7f28d274a /lspc.lua
parentac7bdc1f1a84d9e7bbd28f091700993362b72525 (diff)
parente44ec3fa609fa7701de369939674a1ea46743ea8 (diff)
downloadvis-lspc-d36c417bc662a720a0bfdd60cbc8c1dc6c915041.tar.gz
vis-lspc-d36c417bc662a720a0bfdd60cbc8c1dc6c915041.zip
Merge branch 'apply-workspaceEdit-remember-cursor' into 'main'
restore the primary cursor position after a workspaceEdit See merge request muhq/vis-lspc!47
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lspc.lua b/lspc.lua
index fad0fa7..5bd3c46 100644
--- a/lspc.lua
+++ b/lspc.lua
@@ -39,6 +39,9 @@ local lspc = {
-- 60% solarized red
diagnostic_style = 'back:#e3514f',
+ -- restore the position of the primary curser after applying a workspace edit
+ workspace_edit_remember_cursor = true,
+
-- message level to show in the UI when receiving messages from the server
-- Error = 1, Warning = 2, Info = 3, Log = 4
message_level = 3,