diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-12-08 13:34:47 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-12-08 13:34:47 +0100 |
| commit | dc690693793a06cb7f84f93703f00ff727eb54c2 (patch) | |
| tree | ac59f14ac48166ef9aef980d699bf5ac1ffdd38c /init.lua | |
| parent | 05a623879af0137b0a42693d89a206f7dfd97d32 (diff) | |
| download | vis-lspc-dc690693793a06cb7f84f93703f00ff727eb54c2.tar.gz vis-lspc-dc690693793a06cb7f84f93703f00ff727eb54c2.zip | |
add menu-/ confirm-cmd options
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1331,5 +1331,15 @@ vis:option_register('lspc-highlight-diagnostics', 'bool', function(value) return true end, 'Should lspc highlight diagnostics if available') +vis:option_register('lspc-menu-cmd', 'string', function(value) + lspc.menu_cmd = value + return true +end, 'External tool vis-lspc uses to present choices in a menu') + +vis:option_register('lspc-confirm-cmd', 'string', function(value) + lspc.confirm_cmd = value + return true +end, 'External tool vis-lspc uses to ask the user for confirmation') + dofile(source_path .. 'bindings.lua') return lspc |
