diff --git a/lua/plugins.lua b/lua/plugins.lua index 82f4ce6..6f90260 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -38,13 +38,16 @@ pcall(vim.cmd.colorscheme, "gruvbox") -- Simple setup({}) plugins for _, name in ipairs({ - "oil", "mini.pick", "mini.extra", "mini.icons", "mason", "typst-preview", + "mini.pick", "mini.extra", "mini.icons", "mason", "typst-preview", "nvim-autopairs", "mini.jump", "mini.ai", "nvim-ts-autotag", "todo-comments", "csvview", }) do pcall(function() require(name).setup() end) end +-- Auto-refresh the oil buffer when the filesystem changes externally. +require("oil").setup({ watch_for_changes = true }) + -- Open the Trouble window even when there are no results (e.g. no -- diagnostics) instead of erroring out with "No results". require("trouble").setup({ open_no_results = true })