aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lspc.lua b/lspc.lua
index f34ba4d..b1b5e98 100644
--- a/lspc.lua
+++ b/lspc.lua
@@ -57,6 +57,23 @@ local lspc = {
-- Should a file's directory be used as workspace root if no explicit root was found.
fallback_dirname_as_root = false,
+ -- Format string how the symbols are presented in the navigation window.
+ -- The following arguments are passed to the string.format function:
+ -- indentation, symbol kind, name, line, column
+ 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
+ -- 'vl' -- vertical left
+ -- 'ht' -- horizontal top
+ -- 'hb' -- horizontak bottom
+ navwin_layout = 'vr',
+
-- events
events = {
LS_INITIALIZED = 'LspcEvent::LS_INITIALIZED',