diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-09-07 23:08:06 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-09-07 23:08:06 +0200 |
| commit | 5998f2fba2063f2fc130c60e4348b0f4b6344d64 (patch) | |
| tree | 17ef1de1b181d352d34f65794f39480ad7f52ba9 | |
| parent | 17ef2292b271a8b0cce89aefde8a84c1a7e8c49a (diff) | |
| download | dotfiles-5998f2fba2063f2fc130c60e4348b0f4b6344d64.tar.gz dotfiles-5998f2fba2063f2fc130c60e4348b0f4b6344d64.zip | |
Formatted
| -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 |
