nvim: disable copilot lua on startup

This commit is contained in:
Moritz Böhme 2023-02-27 23:03:17 +01:00
parent 44b84c849d
commit 38f175b845

View file

@ -434,6 +434,10 @@ require("copilot").setup({
suggestion = { enabled = false }, suggestion = { enabled = false },
panel = { 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() require("copilot_cmp").setup()
local orgmode = require("orgmode") local orgmode = require("orgmode")