diff --git a/init.lua b/init.lua index 090dab3..1c72f4e 100644 --- a/init.lua +++ b/init.lua @@ -324,15 +324,6 @@ require('lazy').setup({ }, }, - -- AI coding - { - "olimorris/codecompanion.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-treesitter/nvim-treesitter", - }, - config = true - } -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart -- These are some example plugins that I've included in the kickstart repository. -- Uncomment any of the lines below to enable them. @@ -918,33 +909,5 @@ autocmd("BufWritePost", { command = ":FormatWrite", }) -require("codecompanion").setup({ - strategies = { - chat = { - adapter = "ollama", - }, - inline = { - adapter = "ollama", - }, - }, - adapters = { - ollama = function() - return require("codecompanion.adapters").extend("ollama", { - env = { - url = "http://192.168.203.8:11434" - -- api_key = "OLLAMA_API_KEY", - }, - headers = { - ["Content-Type"] = "application/json" - -- ["Authorization"] = "Bearer ${api_key}", - }, - parameters = { - sync = true, - }, - }) - end, - }, -}) - -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et