feat(nvim): integrate CodeCompanion with LlamaSwap and Copilot

- Remove old code-companion-config.lua file
- Move LLM configuration to llm.lua with LlamaSwap and Copilot integration
- Add copilot-vim plugin to default.nix
- Update which-key bindings to include new CodeCompanion commands
- Configure CodeCompanion with chat, inline, and command strategies using LlamaSwap adapter
- Add memory configuration with default project files
- Update LSP configuration for CodeCompanion markdown rendering
This commit is contained in:
2025-12-04 17:21:38 -05:00
parent 50b03508e1
commit d64cc0e47b
6 changed files with 85 additions and 48 deletions

View File

@@ -11,6 +11,13 @@ vim.api.nvim_create_autocmd("FileType", {
require('render-markdown').setup({
completions = { lsp = { enabled = true } },
file_types = { 'markdown', 'codecompanion' },
html = {
-- CodeCompanion Markdown Tweaks
tag = {
file = { icon = '󰨸 ', highlight = 'Normal' },
buf = { icon = '󰂥 ', highlight = 'Normal' },
},
},
})
------------------------------------------------------