Auto commit: 2024-11-08 19:00:02

This commit is contained in:
Daniel Fichtinger 2024-11-08 19:00:02 -05:00
parent 19bdcd3a1c
commit cc0e5ef8e9
2 changed files with 19 additions and 2 deletions

View file

@ -18,8 +18,23 @@ return {
-- disable by default -- disable by default
require("copilot.command").disable() require("copilot.command").disable()
local cpt = Snacks.toggle.new({
LazyVim.toggle.map("<leader>at", copilot_toggle) 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,
})
-- LazyVim.toggle.map("<leader>at", copilot_toggle)
end, end,
}, },
{ "CopilotC-Nvim/CopilotChat.nvim", opts = { { "CopilotC-Nvim/CopilotChat.nvim", opts = {

View file

@ -100,3 +100,5 @@
[main 87929a5] Auto commit: 2024-11-08 18:50:02 [main 87929a5] Auto commit: 2024-11-08 18:50:02
3 files changed, 7 insertions(+), 1 deletion(-) 3 files changed, 7 insertions(+), 1 deletion(-)
create mode 100644 .config/nvim/lua/plugins/no-neck-pain.lua create mode 100644 .config/nvim/lua/plugins/no-neck-pain.lua
[main 19bdcd3] Auto commit: 2024-11-08 18:55:02
1 file changed, 3 insertions(+)