Compare commits

..

1 Commits

Author SHA1 Message Date
Ian Griffin 693fddbe6f enabled cmp-ai 2026-01-16 14:55:46 +08:00
1 changed files with 18 additions and 18 deletions

View File

@ -97,23 +97,23 @@ return {
},
},
},
-- {
-- "tzachar/cmp-ai",
-- dependencies = "nvim-lua/plenary.nvim",
-- config = function()
-- local cmp_ai = require("cmp_ai.config")
--
-- cmp_ai:setup({
-- max_lines = 1000,
-- provider = "Ollama", -- Change to 'Ollama', 'HF', etc. as needed
-- provider_options = {
-- model = "qwen2.5-coder:latest",
-- },
-- notify = true,
-- run_on_every_keystroke = true,
-- })
-- end,
-- },
{
"tzachar/cmp-ai",
dependencies = "nvim-lua/plenary.nvim",
config = function()
local cmp_ai = require("cmp_ai.config")
cmp_ai:setup({
max_lines = 1000,
provider = "Ollama", -- Change to 'Ollama', 'HF', etc. as needed
provider_options = {
model = "qwen2.5-coder:latest",
},
notify = true,
run_on_every_keystroke = true,
})
end,
},
{
"hrsh7th/nvim-cmp",
event = { "InsertEnter", "CmdlineEnter" },
@ -125,7 +125,7 @@ return {
"hrsh7th/cmp-nvim-lsp-document-symbol",
"hrsh7th/cmp-cmdline",
"amarz45/nvim-cmp-fonts",
-- "tzachar/cmp-ai",
"tzachar/cmp-ai",
"garymjr/nvim-snippets", -- Ensure the snippet source is loaded
},
config = function()