mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim: cowpilot
This commit is contained in:
parent
bba9169e4a
commit
ca792c52f8
2 changed files with 19 additions and 0 deletions
18
nvim/lua/plugins/ide/copilot.lua
Normal file
18
nvim/lua/plugins/ide/copilot.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
"zbirenbaum/copilot.lua",
|
||||
cmd = "Copilot",
|
||||
event = "InsertEnter",
|
||||
opts = {
|
||||
suggestion = {
|
||||
enabled = true,
|
||||
auto_trigger = true,
|
||||
keymap = {
|
||||
accept = "<C-F>",
|
||||
},
|
||||
},
|
||||
panel = {
|
||||
enabled = true,
|
||||
auto_refresh = true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
@ -51,6 +51,7 @@ require("lazy").setup({
|
|||
{ import = "plugins.ide.lsp" },
|
||||
{ import = "plugins.ide.dap" },
|
||||
{ import = "plugins.ide.neotest" },
|
||||
{ import = "plugins.ide.copilot" },
|
||||
|
||||
-- Language specific
|
||||
-----------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue