Adding some snippets and keymaps
This commit is contained in:
@@ -50,7 +50,7 @@ return {
|
||||
completion = {
|
||||
-- By default, you may press `<c-space>` to show the documentation.
|
||||
-- Optionally, set `auto_show = true` to show the documentation after a delay.
|
||||
documentation = { auto_show = true, auto_show_delay_ms = 500 },
|
||||
documentation = { auto_show = true, auto_show_delay_ms = 200 },
|
||||
},
|
||||
|
||||
sources = {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
require('helpers').edit_cf('pa', '/lua/plugins/codecompanion.lua')
|
||||
|
||||
vim.cmd [[cab cc CodeCompanion]]
|
||||
|
||||
return {
|
||||
'olimorris/codecompanion.nvim',
|
||||
opts = function(_, opts)
|
||||
@@ -62,7 +64,7 @@ return {
|
||||
|
||||
opts.strategies = {
|
||||
chat = {
|
||||
adapter = 'gemini',
|
||||
adapter = 'gpt',
|
||||
slash_commands = {
|
||||
codebase = require('vectorcode.integrations').codecompanion.chat.make_slash_command(),
|
||||
},
|
||||
@@ -72,6 +74,11 @@ return {
|
||||
callback = require('vectorcode.integrations').codecompanion.chat.make_tool(),
|
||||
},
|
||||
},
|
||||
keymaps = {
|
||||
send = {
|
||||
modes = { i = '<Enter>' },
|
||||
},
|
||||
},
|
||||
},
|
||||
inline = {
|
||||
adapter = 'flash',
|
||||
|
||||
@@ -1,21 +1,26 @@
|
||||
return {
|
||||
"nvim-neotest/neotest",
|
||||
'nvim-neotest/neotest',
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
"nvim-neotest/nvim-nio",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
'nvim-neotest/nvim-nio',
|
||||
'nvim-lua/plenary.nvim',
|
||||
'antoinemadec/FixCursorHold.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
-- Adapters
|
||||
'V13Axel/neotest-pest',
|
||||
-- "olimorris/neotest-phpunit",
|
||||
},
|
||||
config = function()
|
||||
require('neotest').setup({
|
||||
require('neotest').setup {
|
||||
adapters = {
|
||||
require('neotest-pest'),
|
||||
require 'neotest-pest' {
|
||||
sail_enabled = function()
|
||||
return false
|
||||
end,
|
||||
parallel = 10,
|
||||
},
|
||||
-- require('neotest-phpunit'),
|
||||
}
|
||||
})
|
||||
end
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user