diff options
| -rw-r--r-- | lua/plugins/quickfix.lua | 15 |
1 files 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 |
