fix: set bufhidden = 'hide' by default (#104)

This commit is contained in:
Steven Arcangeli 2023-05-16 20:32:45 -07:00
parent d0efcc0c10
commit 19563c3658
3 changed files with 3 additions and 0 deletions

View file

@ -134,6 +134,7 @@ require("oil").setup({
-- Buffer-local options to use for oil buffers
buf_options = {
buflisted = false,
bufhidden = "hide",
},
-- Window-local options to use for oil buffers
win_options = {

View file

@ -25,6 +25,7 @@ OPTIONS *oil-option
-- Buffer-local options to use for oil buffers
buf_options = {
buflisted = false,
bufhidden = "hide",
},
-- Window-local options to use for oil buffers
win_options = {

View file

@ -10,6 +10,7 @@ local default_config = {
-- Buffer-local options to use for oil buffers
buf_options = {
buflisted = false,
bufhidden = "hide",
},
-- Window-local options to use for oil buffers
win_options = {