aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-03-22 10:21:43 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2024-03-22 10:23:28 +0100
commite44ec3fa609fa7701de369939674a1ea46743ea8 (patch)
tree300775cd90cfac944922c03099c59979ec1615c1 /lspc.lua
parent418167354031ae75c55042574764745a7a825e8f (diff)
downloadvis-lspc-apply-workspaceEdit-remember-cursor.tar.gz
vis-lspc-apply-workspaceEdit-remember-cursor.zip
restore the primary cursor position after a workspaceEditapply-workspaceEdit-remember-cursor
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 453f7b0..235a7e4 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,