Compare commits
No commits in common. "fix/deprecation-warning" and "chore/add-issue-templates" have entirely different histories.
fix/deprec
...
chore/add-
1 changed files with 0 additions and 9 deletions
|
|
@ -34,13 +34,4 @@ function M.is_initialized()
|
|||
return initialized
|
||||
end
|
||||
|
||||
---@deprecated Use `vim.g.cp_config` instead
|
||||
function M.setup(user_config)
|
||||
vim.deprecate('require("cp").setup()', 'vim.g.cp_config', 'v0.1.0', 'cp.nvim', false)
|
||||
|
||||
if user_config then
|
||||
vim.g.cp_config = vim.tbl_deep_extend('force', vim.g.cp_config or {}, user_config)
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue