feat(neovim): improve code generation configuration #249

Merged
joao.dubas merged 3 commits from jpd-feat-update-neovim-configuration into main 2025-06-23 11:40:10 +00:00
2 changed files with 73 additions and 0 deletions

View File

@ -16,6 +16,14 @@
"vectorcode": {
"command": "vectorcode-mcp-server",
"args": []
},
"serena": {
"command": "uvx",
"arg": [
"--from",
"git+https://github.com/oraios/serena",
"serena-mcp-server"
]
}
}
}

View File

@ -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,
},
},
},
}