mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-22 19:54:24 +02:00
enc: add usercommand enable disable codeium
This commit is contained in:
parent
6d87fbb90a
commit
4b9382146f
2 changed files with 12 additions and 4 deletions
|
@ -60,5 +60,13 @@ return {
|
|||
vim.keymap.set("i", "<c-x>", function()
|
||||
require("neocodeium").clear()
|
||||
end)
|
||||
-- create user command CodeiumDiasable
|
||||
vim.api.nvim_create_user_command("CodeiumDisable", function()
|
||||
require("neocodeium.commands").disable(true)
|
||||
end, {})
|
||||
-- create user command CodeiumEnable
|
||||
vim.api.nvim_create_user_command("CodeiumEnable", function()
|
||||
require("neocodeium.commands").enable()
|
||||
end, {})
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue