Cleanup lsp config a little more
This commit is contained in:
parent
f9a3f4ef46
commit
d9efa6d0da
@ -39,28 +39,6 @@ return {
|
||||
{ "mason-org/mason.nvim", opts = {} },
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
-- config = function()
|
||||
-- require("mason-lspconfig").setup({
|
||||
-- ensure_installed = {},
|
||||
-- automatic_enable = true,
|
||||
-- automatic_installation = false,
|
||||
-- })
|
||||
-- -- local lsp_dir = vim.fn.stdpath("config") .. "/lsp"
|
||||
-- -- local configs = {}
|
||||
-- -- if vim.fn.isdirectory(lsp_dir) == 1 then
|
||||
-- -- for _, file in ipairs(vim.fn.readdir(lsp_dir)) do
|
||||
-- -- if file:match("%.lua$") and file ~= "init.lua" then
|
||||
-- -- local server_name = file:gsub("%.lua$", "")
|
||||
-- -- local settings = loadfile(vim.fn.resolve(lsp_dir .. "/" .. file))()
|
||||
-- -- configs[server_name] = settings
|
||||
-- -- end
|
||||
-- -- end
|
||||
-- -- end
|
||||
-- -- for server_name, config in pairs(configs) do
|
||||
-- -- print(vim.inspect(config))
|
||||
-- -- vim.lsp.config(server_name, config)
|
||||
-- -- end
|
||||
-- end,
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
|
||||
@ -2,13 +2,8 @@ return {
|
||||
"yetone/avante.nvim",
|
||||
event = "VeryLazy",
|
||||
version = false,
|
||||
|
||||
---@module 'avante'
|
||||
---@type avante.Config
|
||||
opts = {
|
||||
build = vim.fn.has("win32") ~= 0
|
||||
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
|
||||
or "make",
|
||||
build = "make",
|
||||
provider = "claude",
|
||||
},
|
||||
dependencies = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user