fix(oil): update config

This commit is contained in:
2025-05-01 02:22:36 +02:00
parent 913f814071
commit b14984a6ab
+2 -4
View File
@@ -1,5 +1,3 @@
-- https://github.com/NvChad/nvim-colorizer.lua
---@type LazyPluginSpec ---@type LazyPluginSpec
return { return {
"stevearc/oil.nvim", "stevearc/oil.nvim",
@@ -12,6 +10,7 @@ return {
mode = "n", mode = "n",
}, },
}, },
---@type oil.SetupOpts
opts = { opts = {
default_file_explorer = true, default_file_explorer = true,
columns = { columns = {
@@ -20,11 +19,10 @@ return {
"size", "size",
"mtime", "mtime",
}, },
constrain_cursor = "name",
delete_to_trash = true, delete_to_trash = true,
float = { float = {
max_width = 80, max_width = 80,
max_height = 40, max_height = 20,
}, },
skip_confirm_for_simple_edits = true, skip_confirm_for_simple_edits = true,
watch_for_changes = false, watch_for_changes = false,