diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-08-27 22:14:08 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-08-27 22:16:15 +0200 |
| commit | 735cd327f8254fa2b6b0bad7e399d0fc4fc73088 (patch) | |
| tree | 36cc32bece11165aec85d593f90c3d1a4103a013 /init.lua | |
| parent | 87edef4dff8ab931a9ec85de9a11cbd4cc7d6247 (diff) | |
| download | vis-lspc-735cd327f8254fa2b6b0bad7e399d0fc4fc73088.tar.gz vis-lspc-735cd327f8254fa2b6b0bad7e399d0fc4fc73088.zip | |
assert that io.popen returns a usable process handle
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ local function lspc_select(choices) if lspc.menu_cmd:sub(0, 8) == 'vis-menu' then status, output = vis:pipe(vis.win.file, {start = 0, finish = 0}, cmd) else - local menu = io.popen(cmd) + local menu = assert(io.popen(cmd)) output = menu:read('*a') local _, _, _status = menu:close() status = _status |
