summaryrefslogtreecommitdiff
path: root/lua/lvim/utils
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-07-23 14:16:43 +0200
committerGitHub <[email protected]>2022-07-23 14:16:43 +0200
commit6ab3e8a73920e3d2e02e57f7dd3a1f3d8e54ee63 (patch)
tree31d69d1a4e3618ff969d21ff9076f81923e92fb6 /lua/lvim/utils
parent48320e5f882a911707c56baf3865f663acb39f08 (diff)
chore: bump plugins version (#2723)
Diffstat (limited to 'lua/lvim/utils')
-rw-r--r--lua/lvim/utils/git.lua18
1 files changed, 8 insertions, 10 deletions
diff --git a/lua/lvim/utils/git.lua b/lua/lvim/utils/git.lua
index 62915458..99c178f3 100644
--- a/lua/lvim/utils/git.lua
+++ b/lua/lvim/utils/git.lua
@@ -13,16 +13,14 @@ local function git_cmd(opts)
opts.cwd = opts.cwd or get_lvim_base_dir()
local stderr = {}
- local stdout, ret = Job
- :new({
- command = "git",
- args = opts.args,
- cwd = opts.cwd,
- on_stderr = function(_, data)
- table.insert(stderr, data)
- end,
- })
- :sync()
+ local stdout, ret = Job:new({
+ command = "git",
+ args = opts.args,
+ cwd = opts.cwd,
+ on_stderr = function(_, data)
+ table.insert(stderr, data)
+ end,
+ }):sync()
if not vim.tbl_isempty(stderr) then
Log:debug(stderr)