diff --git a/lua/oil/config.lua b/lua/oil/config.lua index 3ed851e..562562c 100644 --- a/lua/oil/config.lua +++ b/lua/oil/config.lua @@ -394,6 +394,13 @@ local M = {} M.setup = function(opts) opts = opts or {} + if opts.trash_command then + vim.notify( + "[oil.nvim] trash_command is deprecated. Use built-in trash functionality instead (:help oil-trash).\nCompatibility will be removed on 2025-06-01.", + vim.log.levels.WARN + ) + end + local new_conf = vim.tbl_deep_extend("keep", opts, default_config) if not new_conf.use_default_keymaps then new_conf.keymaps = opts.keymaps or {}