revert(lsp): revert changes for #6456. Closes #6779

This commit is contained in:
Folke Lemaitre 2026-03-01 10:50:09 +01:00
parent fca0af57cc
commit d0fe8c896f
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -2,7 +2,7 @@ return {
-- lspconfig -- lspconfig
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
event = "LazyFile", event = { "BufReadPre", "BufNewFile" },
dependencies = { dependencies = {
"mason.nvim", "mason.nvim",
{ "mason-org/mason-lspconfig.nvim", config = function() end }, { "mason-org/mason-lspconfig.nvim", config = function() end },
@ -150,7 +150,7 @@ return {
return ret return ret
end, end,
---@param opts PluginLspOpts ---@param opts PluginLspOpts
config = vim.schedule_wrap(function(_, opts) config = function(_, opts)
-- setup autoformat -- setup autoformat
LazyVim.format.register(LazyVim.lsp.formatter()) LazyVim.format.register(LazyVim.lsp.formatter())
@ -259,7 +259,7 @@ return {
automatic_enable = { exclude = mason_exclude }, automatic_enable = { exclude = mason_exclude },
}) })
end end
end), end,
}, },
-- cmdline tools and lsp servers -- cmdline tools and lsp servers