From dd1aca9ad2f19c6116f4fc8c8a7651b2b7742cbf Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 30 Jul 2025 19:36:09 +0200 Subject: 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. --- lspc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lspc.lua') 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', -- cgit v1.2.3