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 = {} },
|
{ "mason-org/mason.nvim", opts = {} },
|
||||||
"neovim/nvim-lspconfig",
|
"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",
|
"neovim/nvim-lspconfig",
|
||||||
|
|||||||
@ -2,13 +2,8 @@ return {
|
|||||||
"yetone/avante.nvim",
|
"yetone/avante.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
version = false,
|
version = false,
|
||||||
|
|
||||||
---@module 'avante'
|
|
||||||
---@type avante.Config
|
|
||||||
opts = {
|
opts = {
|
||||||
build = vim.fn.has("win32") ~= 0
|
build = "make",
|
||||||
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
|
|
||||||
or "make",
|
|
||||||
provider = "claude",
|
provider = "claude",
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user