summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <me@mediocregopher.com>2024-10-08 12:17:02 +0200
committerBrian Picciano <me@mediocregopher.com>2024-10-08 12:17:02 +0200
commit16072a917710c760602a07704b3dc3551e87df2a (patch)
tree8a77419a88aebc88fad41443298c17c849002e8d
parent906f84bd7449b6f93169b9038873ed72ddc73b72 (diff)
Don't auto-open quickfix list in 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,
})