diff options
author | Brian Picciano <me@mediocregopher.com> | 2024-10-08 12:17:02 +0200 |
---|---|---|
committer | Brian Picciano <me@mediocregopher.com> | 2024-10-08 12:17:02 +0200 |
commit | 16072a917710c760602a07704b3dc3551e87df2a (patch) | |
tree | 8a77419a88aebc88fad41443298c17c849002e8d /nvim | |
parent | 906f84bd7449b6f93169b9038873ed72ddc73b72 (diff) |
Don't auto-open quickfix list in nvim
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index 869b45b..d69d297 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -66,7 +66,7 @@ vim.api.nvim_create_autocmd('BufWritePre', { -- Open LSP Diagnostics in quickfix list on save vim.api.nvim_create_autocmd('BufWritePost', { callback = function(args) - vim.diagnostic.setqflist() + vim.diagnostic.setqflist({open = false}) end, }) |