Compare commits
2 commits
chore/add-
...
v0.7.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2c7f16890 | ||
| 276241447c |
1 changed files with 9 additions and 0 deletions
|
|
@ -34,4 +34,13 @@ 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