diff --git a/README.md b/README.md index fd15360..46063b2 100644 --- a/README.md +++ b/README.md @@ -257,6 +257,8 @@ require("oil").setup({ win_options = { winblend = 0, }, + -- optionally override the oil buffers window title with custom function: fun(winid: integer): string + get_win_title = nil, -- preview_split: Split direction: "auto", "left", "right", "above", "below". preview_split = "auto", -- This is the config that will be passed to nvim_open_win. diff --git a/doc/oil.txt b/doc/oil.txt index 43c52d2..8e96cf4 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -142,7 +142,7 @@ CONFIG *oil-confi win_options = { winblend = 0, }, - -- optionally override the oil buffers window title with custom function: fun(path: string): string + -- optionally override the oil buffers window title with custom function: fun(winid: integer): string get_win_title = nil, -- preview_split: Split direction: "auto", "left", "right", "above", "below". preview_split = "auto",