Remove ai stuff
This commit is contained in:
parent
029b5d6406
commit
c158ab3dcd
3 changed files with 0 additions and 114 deletions
|
|
@ -1,87 +0,0 @@
|
|||
return {
|
||||
"olimorris/codecompanion.nvim",
|
||||
opts = {
|
||||
ignore_warnings = true,
|
||||
adapters = {
|
||||
http = {
|
||||
copilot = function()
|
||||
return require("codecompanion.adapters").extend("copilot", {
|
||||
schema = {
|
||||
model = {
|
||||
default = "claude-sonnet-4",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
openai = function()
|
||||
return require("codecompanion.adapters").extend("openai", {
|
||||
opts = {
|
||||
stream = true,
|
||||
},
|
||||
schema = {
|
||||
model = {
|
||||
default = function()
|
||||
return "o3-2025-04-16"
|
||||
end,
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = "copilot",
|
||||
roles = {
|
||||
user = "Martin",
|
||||
},
|
||||
slash_commands = {
|
||||
["buffer"] = {
|
||||
opts = {
|
||||
keymaps = {
|
||||
modes = {
|
||||
i = "<C-b>",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
["help"] = {
|
||||
opts = {
|
||||
max_lines = 1000,
|
||||
},
|
||||
},
|
||||
},
|
||||
keymaps = {
|
||||
previous_chat = {
|
||||
modes = {
|
||||
n = "<Leader>[",
|
||||
},
|
||||
},
|
||||
|
||||
next_chat = {
|
||||
modes = {
|
||||
n = "<Leader>]",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
inline = { adapter = "copilot" },
|
||||
},
|
||||
|
||||
display = {
|
||||
action_palette = {
|
||||
provider = "default",
|
||||
},
|
||||
diff = {
|
||||
provider = "mini_diff",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
log_level = "DEBUG",
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "<Leader>x", "<cmd>CodeCompanionActions<cr>" },
|
||||
{ "<Leader>c", "<cmd>CodeCompanionChat toggle<cr>" },
|
||||
},
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
return {
|
||||
"franco-ruggeri/codecompanion-spinner.nvim",
|
||||
dependencies = {
|
||||
"olimorris/codecompanion.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
opts = {}
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
return {
|
||||
"github/copilot.vim",
|
||||
event = "InsertEnter",
|
||||
init = function()
|
||||
vim.g.copilot_no_tab_map = true
|
||||
vim.g.copilot_enabled = false
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<Right>",
|
||||
'copilot#Accept("\\<Right>")',
|
||||
mode = "i",
|
||||
expr = true,
|
||||
replace_keycodes = false,
|
||||
silent = true,
|
||||
desc = "Copilot Accept with <Right>",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue