diff --git a/README.md b/README.md index 661a708..0b8d0e5 100644 --- a/README.md +++ b/README.md @@ -233,8 +233,7 @@ require("oil").setup({ { "name", "asc" }, }, -- Customize the highlight group for the file name - highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan, - bufnr) + highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan) return nil end, }, diff --git a/doc/oil.txt b/doc/oil.txt index 6f84dd1..8540cbd 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -118,7 +118,7 @@ CONFIG *oil-confi { "name", "asc" }, }, -- Customize the highlight group for the file name - highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan, bufnr) + highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan) return nil end, },