From 5998f2fba2063f2fc130c60e4348b0f4b6344d64 Mon Sep 17 00:00:00 2001 From: srdusr Date: Thu, 7 Sep 2023 23:08:06 +0200 Subject: Formatted --- lua/plugins/quickfix.lua | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lua/plugins/quickfix.lua b/lua/plugins/quickfix.lua index 4ea2374..4a76da0 100644 --- a/lua/plugins/quickfix.lua +++ b/lua/plugins/quickfix.lua @@ -1,18 +1,15 @@ local M = {} M.close = function() - vim.cmd.cclose() + vim.cmd.cclose() end M.open = function() - if vim.tbl_count(vim.fn.getqflist()) == 0 then - vim.notify( - "Nothing in quickfix list; not opening.", - vim.log.levels.WARN - ) - else - vim.cmd.copen() - end + if vim.tbl_count(vim.fn.getqflist()) == 0 then + vim.notify('Nothing in quickfix list; not opening.', vim.log.levels.WARN) + else + vim.cmd.copen() + end end return M -- cgit v1.2.3