remove useless code

Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
d0zingcat
2024-10-11 18:33:19 +08:00
parent d4ada7d27e
commit 2157e40647
25 changed files with 38 additions and 901 deletions

View File

@@ -0,0 +1,23 @@
return {
"yetone/avante.nvim",
event = "VeryLazy",
-- build = "make", -- This is Optional, only if you want to use tiktoken_core to calculate tokens count
opts = {
-- provider = "claude",
provider = "openai",
},
dependencies = {
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
--- The below is optional, make sure to setup it properly if you have lazy=true
{
'MeanderingProgrammer/render-markdown.nvim',
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
}

View File

@@ -64,6 +64,8 @@ return {
}
}
},
crystalline = {},
terraformls = {},
jsonls = {},
bashls = {},
tsserver = {

View File

@@ -20,6 +20,7 @@ return {
vim.api.nvim_create_autocmd('BufEnter', { callback = close_nvim_tree })
end,
opts = {
filters = { dotfiles = false, custom = { '^.git$' } },
on_attach = function(bufnr)
local function map(mode, l, r, opts)
opts = opts or {}