feat(neovim): improve code generation configuration (#249)
1. Configure local `llm` on `avante` 2. Integrate with `claude-code` 3. Add `serena` `mcp` server Reviewed-on: #249 Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com> Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
This commit is contained in:
parent
9fe182d987
commit
400a7f2488
@ -16,6 +16,14 @@
|
||||
"vectorcode": {
|
||||
"command": "vectorcode-mcp-server",
|
||||
"args": []
|
||||
},
|
||||
"serena": {
|
||||
"command": "uvx",
|
||||
"arg": [
|
||||
"--from",
|
||||
"git+https://github.com/oraios/serena",
|
||||
"serena-mcp-server"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -435,6 +435,24 @@ return {
|
||||
return hub and hub:get_active_servers_prompt() or ''
|
||||
end,
|
||||
providers = {
|
||||
['deepseek-r1-local'] = {
|
||||
__inherited_from = 'ollama',
|
||||
api_key_name = '',
|
||||
endpoint = 'http://172.30.64.1:10000',
|
||||
model = 'deepseek-r1:14b',
|
||||
},
|
||||
['gemma3-local'] = {
|
||||
__inherited_from = 'ollama',
|
||||
api_key_name = '',
|
||||
endpoint = 'http://172.30.64.1:10000',
|
||||
model = 'gemma3:12b',
|
||||
},
|
||||
['qwen3-local'] = {
|
||||
__inherited_from = 'ollama',
|
||||
api_key_name = '',
|
||||
endpoint = 'http://172.30.64.1:10000',
|
||||
model = 'qwen3:14b',
|
||||
},
|
||||
['gemini-pro'] = {
|
||||
__inherited_from = 'gemini',
|
||||
model = 'gemini-2.5-pro-preview-05-06',
|
||||
@ -473,4 +491,51 @@ return {
|
||||
trailing_stiffness = 0.1,
|
||||
},
|
||||
},
|
||||
{
|
||||
'greggh/claude-code.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
opts = {
|
||||
window = {
|
||||
split_ratio = 0.5,
|
||||
position = 'botright',
|
||||
enter_insert = true,
|
||||
hide_numbers = true,
|
||||
hide_signcolumn = true,
|
||||
},
|
||||
refresh = {
|
||||
enable = true,
|
||||
updatetime = 100,
|
||||
timer_interval = 1000,
|
||||
show_notifications = true,
|
||||
},
|
||||
git = {
|
||||
use_git_root = true,
|
||||
},
|
||||
shell = {
|
||||
separator = '&&',
|
||||
pushd_cmd = 'pushd',
|
||||
popd_cmd = 'popd',
|
||||
},
|
||||
command = 'claude',
|
||||
command_variants = {
|
||||
continue = '--continue', -- Resume the most recent conversation
|
||||
resume = '--resume', -- Display an interactive conversation picker
|
||||
verbose = '--verbose', -- Enable verbose logging with full turn-by-turn output
|
||||
},
|
||||
keymaps = {
|
||||
toggle = {
|
||||
normal = '<C-_>',
|
||||
terminal = '<C-_>',
|
||||
variants = {
|
||||
continue = '<leader>cC',
|
||||
verbose = '<leader>cV',
|
||||
},
|
||||
},
|
||||
window_navigation = true,
|
||||
scrolling = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user