From 2de4451d115f6f02a679a7cc6b7fd8b63b292246 Mon Sep 17 00:00:00 2001 From: 0xTux <0xtux@pm.me> Date: Sun, 3 Mar 2024 04:16:12 +0530 Subject: [PATCH] add gen plugin --- pkgs/nvchad/custom/configs/gen.lua | 10 ++++++++++ pkgs/nvchad/custom/plugins.lua | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/nvchad/custom/configs/gen.lua diff --git a/pkgs/nvchad/custom/configs/gen.lua b/pkgs/nvchad/custom/configs/gen.lua new file mode 100644 index 0000000..b808ae1 --- /dev/null +++ b/pkgs/nvchad/custom/configs/gen.lua @@ -0,0 +1,10 @@ +local opts = { + model = "deepseek-coder:6.7b", + display_mode = "float", + show_prompt = true, + show_model = true, + no_auto_close = false, + debug = false, +} + +return opts diff --git a/pkgs/nvchad/custom/plugins.lua b/pkgs/nvchad/custom/plugins.lua index 712b318..ce4a64f 100644 --- a/pkgs/nvchad/custom/plugins.lua +++ b/pkgs/nvchad/custom/plugins.lua @@ -29,6 +29,13 @@ local plugins = { -- require("custom.configs.nvim-lint") -- end, -- }, + { + "David-Kunz/gen.nvim", + lazy = false, + opts = function() + return require("custom.configs.gen") + end, + }, { "Shatur/neovim-session-manager", dependencies = {