diff options
| author | Ian Griffin <migriffin@disroot.org> | 2026-01-16 14:55:46 +0800 |
|---|---|---|
| committer | Ian Griffin <migriffin@disroot.org> | 2026-01-16 14:55:46 +0800 |
| commit | 693fddbe6fcc1ea6c2a10ae0ce7122a565aa2ca1 (patch) | |
| tree | eb7d733d0e3c9c0cd22ac395ab76573d0fb29c93 /lua | |
| parent | 1491a28c3f5a7f369052f288d5c0cc2e81e92083 (diff) | |
enabled cmp-ai
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins/10_ide.lua | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lua/plugins/10_ide.lua b/lua/plugins/10_ide.lua index ec7ffbb..9d03c50 100644 --- a/lua/plugins/10_ide.lua +++ b/lua/plugins/10_ide.lua @@ -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() |
