diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 19:36:09 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-01-30 18:01:24 +0100 |
| commit | dd1aca9ad2f19c6116f4fc8c8a7651b2b7742cbf (patch) | |
| tree | b9ccac0e4a7a2df6f222dc9dc16722e465133476 /lspc.lua | |
| parent | 4ec576b6d600711160f7e3d10bbe60308c5b232c (diff) | |
| download | vis-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.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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', |
