cleanup: remove deprecated trash_command
This commit is contained in:
parent
78ed0cf7d9
commit
81b8a91735
4 changed files with 2 additions and 62 deletions
|
|
@ -224,7 +224,6 @@ default_config.view_options.highlight_filename = nil
|
|||
---@class oil.Config
|
||||
---@field adapters table<string, string> Hidden from SetupOpts
|
||||
---@field adapter_aliases table<string, string> Hidden from SetupOpts
|
||||
---@field trash_command? string Deprecated option that we should clean up soon
|
||||
---@field silence_scp_warning? boolean Undocumented option
|
||||
---@field default_file_explorer boolean
|
||||
---@field columns oil.ColumnSpec[]
|
||||
|
|
@ -403,13 +402,6 @@ 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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue