avante plugin related cleanup
This commit is contained in:
parent
0baf336e89
commit
38aaf6cffc
6 changed files with 26 additions and 39 deletions
|
@ -2,7 +2,7 @@ return {
|
|||
"yetone/avante.nvim",
|
||||
event = "VeryLazy",
|
||||
lazy = false,
|
||||
version = false, -- set this if you want to always pull the latest change
|
||||
version = true,
|
||||
opts = {
|
||||
provider = "openai",
|
||||
openai = {
|
||||
|
@ -11,38 +11,13 @@ return {
|
|||
},
|
||||
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
||||
build = "make",
|
||||
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
|
||||
dependencies = {
|
||||
"HakonHarnes/img-clip.nvim",
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"stevearc/dressing.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
--- The below dependencies are optional,
|
||||
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
||||
{
|
||||
-- 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
-- Make sure to set this up properly if you have lazy=true
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
opts = {
|
||||
file_types = { "markdown", "Avante" },
|
||||
},
|
||||
ft = { "markdown", "Avante" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -2,8 +2,14 @@ return {
|
|||
"HakonHarnes/img-clip.nvim",
|
||||
event = "BufEnter",
|
||||
opts = {
|
||||
-- add options here
|
||||
-- or leave it empty to use the default settings
|
||||
default = {
|
||||
embed_image_as_base64 = false,
|
||||
prompt_for_file_name = false,
|
||||
drag_and_drop = {
|
||||
insert_mode = true,
|
||||
},
|
||||
use_absolute_path = true,
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
-- suggested keymap
|
||||
|
|
|
@ -5,7 +5,6 @@ return {
|
|||
"nvim-lua/plenary.nvim",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"rcasia/neotest-java",
|
||||
"nvim-neotest/neotest-python",
|
||||
"stevanmilic/neotest-scala",
|
||||
},
|
||||
|
@ -24,7 +23,6 @@ return {
|
|||
},
|
||||
opts = {
|
||||
adapters = {
|
||||
["neotest-java"] = {},
|
||||
["neotest-python"] = {
|
||||
runner = "pytest",
|
||||
args = { "-vvv" },
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
return {
|
||||
"stevearc/overseer.nvim",
|
||||
opts = {},
|
||||
}
|
11
lua/plugins/render-markdown.lua
Normal file
11
lua/plugins/render-markdown.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
|
||||
---@module 'render-markdown'
|
||||
---@type render.md.UserConfig
|
||||
opts = {
|
||||
file_types = { "markdown", "Avante" },
|
||||
render_modes = true,
|
||||
},
|
||||
ft = { "markdown", "Avante" },
|
||||
}
|
|
@ -38,6 +38,7 @@ return {
|
|||
"latex",
|
||||
"lua",
|
||||
"make",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"nix",
|
||||
"proto",
|
||||
|
|
Loading…
Reference in a new issue