From c29a5f9ed70c318f673df46d66e6bccf422c7848 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 29 Sep 2026 23:30:49 +0300 Subject: Only hide markdown in world building dir --- .config/nvim/lua/plugins/oil.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/oil.lua b/.config/nvim/lua/plugins/oil.lua index 4871ddb..0dddb2f 100644 --- a/.config/nvim/lua/plugins/oil.lua +++ b/.config/nvim/lua/plugins/oil.lua @@ -12,7 +12,7 @@ return { [''] = false, [''] = false, [''] = false, - [""] = false, + [''] = false, [''] = 'actions.select_split', [''] = 'actions.select_vsplit', [''] = 'actions.refresh', @@ -34,6 +34,13 @@ return { -- Set to "unmodified" to only save unmodified buffers autosave_changes = false, }, + + -- Buffer-local options to use for oil buffers + buf_options = { + buflisted = true, + bufhidden = 'hide', + }, + cleanup_delay_ms = false, }, cmd = 'Oil', event = 'VimEnter', -- cgit v1.3.1