summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.lua2
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,
})