From 6ab3e8a73920e3d2e02e57f7dd3a1f3d8e54ee63 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Jul 2022 14:16:43 +0200 Subject: chore: bump plugins version (#2723) --- tests/lvim/helpers.lua | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'tests') diff --git a/tests/lvim/helpers.lua b/tests/lvim/helpers.lua index 2d8477de..0ce1a57b 100644 --- a/tests/lvim/helpers.lua +++ b/tests/lvim/helpers.lua @@ -3,16 +3,14 @@ local M = {} function M.search_file(file, args) local Job = require "plenary.job" local stderr = {} - local stdout, ret = Job - :new({ - command = "grep", - args = { args, file }, - cwd = get_cache_dir(), - on_stderr = function(_, data) - table.insert(stderr, data) - end, - }) - :sync() + local stdout, ret = Job:new({ + command = "grep", + args = { args, file }, + cwd = get_cache_dir(), + on_stderr = function(_, data) + table.insert(stderr, data) + end, + }):sync() return ret, stdout, stderr end -- cgit v1.2.3