update config to lazy
- add some new plugins - remove some old ones - clean up/update some configs
This commit is contained in:
36
lua/plugins/codecompanion.lua
Normal file
36
lua/plugins/codecompanion.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
return {
|
||||
"olimorris/codecompanion.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"j-hui/fidget.nvim",
|
||||
},
|
||||
opts = {
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = "copilot",
|
||||
},
|
||||
inline = {
|
||||
adapter = "copilot",
|
||||
},
|
||||
},
|
||||
display = {
|
||||
action_palette = {
|
||||
provider = "default",
|
||||
width = 150,
|
||||
heigth = 85,
|
||||
},
|
||||
chat = {
|
||||
layout = "vertical",
|
||||
border = "single",
|
||||
},
|
||||
diff = {
|
||||
enabled = true,
|
||||
provider = "mini_diff",
|
||||
},
|
||||
},
|
||||
},
|
||||
init = function()
|
||||
require("plugins.codecompanion.fidget-spinner"):init()
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user