diff --git a/README.md b/README.md index 85a5615..8a394c2 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,11 @@ require("oil").setup({ win_options = { winblend = 10, }, + -- This is the config that will be passed to nvim_open_win. + -- Change values here to customize the layout + override = function(conf) + return conf + end, }, -- Configuration for the actions floating preview window preview = { diff --git a/doc/oil.txt b/doc/oil.txt index 6b54838..5a5ec12 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -95,6 +95,11 @@ OPTIONS *oil-option win_options = { winblend = 10, }, + -- This is the config that will be passed to nvim_open_win. + -- Change values here to customize the layout + override = function(conf) + return conf + end, }, -- Configuration for the actions floating preview window preview = {