nvim: disable copilot lua on startup

dev-docs
Moritz Böhme 2023-02-27 23:03:17 +01:00
parent 44b84c849d
commit 38f175b845
1 changed files with 4 additions and 0 deletions

View File

@ -434,6 +434,10 @@ require("copilot").setup({
suggestion = { enabled = false },
panel = { enabled = false },
})
vim.api.nvim_create_autocmd("VimEnter", {
desc = "Disable Copilot by default on startup",
command = "Copilot disable",
})
require("copilot_cmp").setup()
local orgmode = require("orgmode")