From 15c7bb150699ecba157b8b0d4f24216f1d432357 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Tue, 29 Oct 2024 19:27:36 -0500 Subject: [PATCH] idk --- flake.nix | 2 ++ lua/_disabled/avante.lua | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 lua/_disabled/avante.lua diff --git a/flake.nix b/flake.nix index 3736af8..ee47825 100644 --- a/flake.nix +++ b/flake.nix @@ -108,6 +108,8 @@ "nvim_plugin-zbirenbaum/copilot.lua".flake = false; # "nvim_plugin-yetone/avante.nvim".url = "github:yetone/avante.nvim"; # "nvim_plugin-yetone/avante.nvim".flake = false; + # "nvim_plugin-stevearc/dressing.nvim".url = "github:stevearc/dressing.nvim"; + # "nvim_plugin-stevearc/dressing.nvim".flake = false; "nvim_plugin-folke/neodev.nvim".url = "github:folke/neodev.nvim"; "nvim_plugin-folke/neodev.nvim".flake = false; "nvim_plugin-mrcjkb/rustaceanvim".url = "github:mrcjkb/rustaceanvim"; diff --git a/lua/_disabled/avante.lua b/lua/_disabled/avante.lua new file mode 100644 index 0000000..afecc88 --- /dev/null +++ b/lua/_disabled/avante.lua @@ -0,0 +1,36 @@ +return { + "yetone/avante.nvim", + dependencies = { + "nvim-treesitter/nvim-treesitter", + "stevearc/dressing.nvim", + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + --- The below dependencies are optional, + -- { + -- -- support for image pasting + -- "HakonHarnes/img-clip.nvim", + -- event = "VeryLazy", + -- opts = { + -- -- recommended settings + -- default = { + -- embed_image_as_base64 = false, + -- prompt_for_file_name = false, + -- drag_and_drop = { + -- insert_mode = true, + -- }, + -- -- required for Windows users + -- use_absolute_path = true, + -- }, + -- }, + -- }, + }, + event = "VeryLazy", + lazy = false, + opts = { + provider = "claude", + }, + config = function(_, opts) + require("avante_lib").load() + require("avante").setup(opts) + end, +}