How do I start with copilot disabled but enable with a command? #142
Replies: 1 comment
-
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
suggestion = {
auto_trigger = true,
keymap = {
accept = "<Tab>",
},
})
vim.cmd("Copilot disable")
end,
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
comiluv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have copilot.lua setup like below with lazy.nvim
but when I
:Copilot enable
, I can't enable copilot suggestion or panel working. I need to setpanel.enabled = true
orsuggestion.enabled = true
to use copilot.What I want is to have both options disabled when I start Neovim and use a vim command to enable features only when I need them.
Beta Was this translation helpful? Give feedback.
All reactions