From 79e3da0085e1649f3cacd1cdf696c60e5b275298 Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Wed, 19 Jul 2023 23:29:21 +0300 Subject: [PATCH] run stylua --- lua/gopher/iferr.lua | 5 ++++- lua/gopher/installer.lua | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lua/gopher/iferr.lua b/lua/gopher/iferr.lua index a8b75e5..fbeddf7 100644 --- a/lua/gopher/iferr.lua +++ b/lua/gopher/iferr.lua @@ -9,7 +9,10 @@ iferr.iferr = function() local data = vim.fn.systemlist(cmd, vim.fn.bufnr "%") if vim.v.shell_error ~= 0 then - u.deferred_notify("command " .. cmd .. " exited with code " .. vim.v.shell_error, vim.log.levels.ERROR) + u.deferred_notify( + "command " .. cmd .. " exited with code " .. vim.v.shell_error, + vim.log.levels.ERROR + ) return end diff --git a/lua/gopher/installer.lua b/lua/gopher/installer.lua index 99aac4b..939d50f 100644 --- a/lua/gopher/installer.lua +++ b/lua/gopher/installer.lua @@ -20,7 +20,10 @@ local function install(pkg) args = { "install", url }, on_exit = function(_, retval) if retval ~= 0 then - u.deferred_notify("command 'go install " .. url .. "' exited with code " .. retval, vim.log.levels.ERROR) + u.deferred_notify( + "command 'go install " .. url .. "' exited with code " .. retval, + vim.log.levels.ERROR + ) return end