From 630f22029fa6794b93b1f339f3797e1ef3c2295d Mon Sep 17 00:00:00 2001 From: m3tam3re Date: Tue, 4 Jun 2024 12:51:40 +0200 Subject: [PATCH] ollama settings --- nvim/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvim/init.lua b/nvim/init.lua index 85359fc..3fec9dd 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -863,6 +863,10 @@ require('lazy').setup({ extract = '```$filetype\n(.-)```', model = 'codellama:latest', } + Review_Code = { + prompt = 'Review the following code and make concise suggestions:\n```$filetype\n$text\n```', + model = 'codellama:latest', + } require('gen').select_model() end, vim.keymap.set('n', 'lo', vim.cmd.Gen, { desc = '[O]llama AI' }),