AutoYADM commit: 2024-12-08 14:45:04

This commit is contained in:
Daniel Fichtinger 2024-12-08 14:45:04 -05:00
parent d111acb8a4
commit aef09bff1c

View file

@ -1,4 +1,23 @@
return {
"wfxr/minimap.vim",
build = "cargo install --locked code-minimap",
config = function()
local cptoggle = Snacks.toggle.new({
name = "Copilot",
-- map = vim.keymap.set,
which_key = true,
get = function()
return not require("copilot.client").is_disabled()
end,
notify = true,
set = function(state)
if state then
require("copilot.command").enable()
else
require("copilot.command").disable()
end
end,
})
Snacks.toggle.map(cptoggle, "<leader>at", { desc = "Toggle Copilot" })
end,
}