From 4c4d03327dcf1af93e0d25b079b1848531203947 Mon Sep 17 00:00:00 2001 From: Pete Kazmier Date: Sat, 23 Nov 2024 08:48:50 -0500 Subject: [PATCH] fix: disable folding by expr in oil windows See discussion here: https://github.com/stevearc/oil.nvim/pull/467#issuecomment-248895275o6 --- lua/plugins/oil.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua index a834921..205916f 100644 --- a/lua/plugins/oil.lua +++ b/lua/plugins/oil.lua @@ -1,5 +1,9 @@ local oil = require("oil") oil.setup({ + win_options = { + foldenable = false, + foldmethod = "manual", + }, keymaps = { ["h"] = "actions.parent", ["l"] = "actions.select",