diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-01-11 15:11:16 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-11 15:11:16 +0100 |
| commit | 29afc301ea05bc907444b698c91b141c26167baa (patch) | |
| tree | 63141257deab54705be8c937ef7f1c0b95b7512d /lspc.lua | |
| parent | f04bb93e982060ed27e5cf6e4a8d97edeb0910b6 (diff) | |
| download | vis-lspc-29afc301ea05bc907444b698c91b141c26167baa.tar.gz vis-lspc-29afc301ea05bc907444b698c91b141c26167baa.zip | |
make universal root detection opt-in
Diffstat (limited to 'lspc.lua')
| -rw-r--r-- | lspc.lua | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -19,7 +19,7 @@ local lspc = { -- automatically start a language server when a new window is opened autostart = true, -- program used to let the user make choices - -- The available choices are pass to <menu_cmd> on stdin separated by '\n' + -- The available choices are passed to <menu_cmd> on stdin separated by '\n' menu_cmd = 'vis-menu -l 10', -- program used to ask the user for confirmation confirm_cmd = 'vis-menu', @@ -49,6 +49,12 @@ local lspc = { -- 'message': use vis:message; 'open': use a new split window allowing for syntax highlighting show_message = 'message', + -- Globs that are considered to be workspace roots (e.g. ".git" or ".hg") + universal_root_globs = {}, + + -- Should a file's directory be used as workspace root if no explicit root was found. + fallback_dirname_as_root = false, + -- events events = { LS_INITIALIZED = 'LspcEvent::LS_INITIALIZED', |
