diff options
| author | Simon Hauser <simon.hauser@helsinki-systems.de> | 2022-07-07 08:27:46 +0200 |
|---|---|---|
| committer | Simon Hauser <simon.hauser@helsinki-systems.de> | 2022-07-07 08:27:46 +0200 |
| commit | f838695459d75a889ae8d96e370957f0f675902a (patch) | |
| tree | 886426677b34edaa04dad95b33a2dc7e3514b8cb /lua/telescope/utils.lua | |
| parent | 8fe2dde6560667217682b22d77e1e719b7156cda (diff) | |
chore: reformat with stylua 0.14.0
Diffstat (limited to 'lua/telescope/utils.lua')
| -rw-r--r-- | lua/telescope/utils.lua | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lua/telescope/utils.lua b/lua/telescope/utils.lua index 4db75a8..70ded91 100644 --- a/lua/telescope/utils.lua +++ b/lua/telescope/utils.lua @@ -417,16 +417,14 @@ function utils.get_os_command_output(cmd, cwd) end local command = table.remove(cmd, 1) local stderr = {} - local stdout, ret = Job - :new({ - command = command, - args = cmd, - cwd = cwd, - on_stderr = function(_, data) - table.insert(stderr, data) - end, - }) - :sync() + local stdout, ret = Job:new({ + command = command, + args = cmd, + cwd = cwd, + on_stderr = function(_, data) + table.insert(stderr, data) + end, + }):sync() return stdout, ret, stderr end |
