Cleanup lsp config a little more

This commit is contained in:
Ben Kreeger 2025-08-17 09:44:02 -05:00
parent f9a3f4ef46
commit d9efa6d0da
Signed by: kreeger
GPG Key ID: D5CF8683D4BE4B50
2 changed files with 1 additions and 28 deletions

View File

@ -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",

View File

@ -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 = {