perf(supermaven): load it lazily

This commit is contained in:
manuuurino 2024-12-18 22:21:09 +01:00
parent 28d3ee4970
commit 3027a21461

View file

@ -1,6 +1,19 @@
return { return {
{ {
"supermaven-inc/supermaven-nvim", "supermaven-inc/supermaven-nvim",
event = "InsertEnter",
cmd = {
"SupermavenStart",
"SupermavenStop",
"SupermavenRestart",
"SupermavenToggle",
"SupermavenStatus",
"SupermavenUseFree",
"SupermavenUsePro",
"SupermavenLogout",
"SupermavenShowLog",
"SupermavenClearLog",
},
opts = { opts = {
keymaps = { keymaps = {
accept_suggestion = nil, -- handled by nvim-cmp / blink.cmp accept_suggestion = nil, -- handled by nvim-cmp / blink.cmp