feat: nest all config in vim.g
This commit is contained in:
parent
b5b55afece
commit
2214c510a6
3 changed files with 33 additions and 66 deletions
|
|
@ -8,9 +8,6 @@ local actions = { "run", "debug", "diff", "next", "prev" }
|
|||
|
||||
vim.api.nvim_create_user_command("CP", function(opts)
|
||||
local cp = require("cp")
|
||||
if not cp.is_initialized() then
|
||||
cp.setup()
|
||||
end
|
||||
cp.handle_command(opts)
|
||||
end, {
|
||||
nargs = "*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue