aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-07-30 19:36:09 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-01-30 18:01:24 +0100
commitdd1aca9ad2f19c6116f4fc8c8a7651b2b7742cbf (patch)
treeb9ccac0e4a7a2df6f222dc9dc16722e465133476 /lspc.lua
parent4ec576b6d600711160f7e3d10bbe60308c5b232c (diff)
downloadvis-lspc-dd1aca9ad2f19c6116f4fc8c8a7651b2b7742cbf.tar.gz
vis-lspc-dd1aca9ad2f19c6116f4fc8c8a7651b2b7742cbf.zip
improve navigation windows
Remove broken autoscrolling. Add commands to control a code/navigation window pair. Support multiple navigation window pairs. Improve default navigation window keybindings.
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lspc.lua b/lspc.lua
index b1b5e98..389961d 100644
--- a/lspc.lua
+++ b/lspc.lua
@@ -63,9 +63,6 @@ local lspc = {
navwin_symbol_format = '%s[%.1s] %s\n', -- short version
-- navwin_symbol_format = '%s[%s] %s %d:%d\n', -- verbose version
- -- Automaticaly scroll the code window to the symbol selected in the navigation window.
- navwin_auto_scroll = true,
-
-- The layout where the navigation window will be placed.
-- The following layout identifiers are supported:
-- 'vr' -- DEFAULT: vertical right
@@ -74,6 +71,9 @@ local lspc = {
-- 'hb' -- horizontak bottom
navwin_layout = 'vr',
+ -- active navigation windows
+ navwins = {},
+
-- events
events = {
LS_INITIALIZED = 'LspcEvent::LS_INITIALIZED',