Public Access
oil watches file changes
This commit is contained in:
+4
-1
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user