mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +00:00
parent
fca0af57cc
commit
d0fe8c896f
1 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@ return {
|
|||
-- lspconfig
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
event = "LazyFile",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = {
|
||||
"mason.nvim",
|
||||
{ "mason-org/mason-lspconfig.nvim", config = function() end },
|
||||
|
|
@ -150,7 +150,7 @@ return {
|
|||
return ret
|
||||
end,
|
||||
---@param opts PluginLspOpts
|
||||
config = vim.schedule_wrap(function(_, opts)
|
||||
config = function(_, opts)
|
||||
-- setup autoformat
|
||||
LazyVim.format.register(LazyVim.lsp.formatter())
|
||||
|
||||
|
|
@ -259,7 +259,7 @@ return {
|
|||
automatic_enable = { exclude = mason_exclude },
|
||||
})
|
||||
end
|
||||
end),
|
||||
end,
|
||||
},
|
||||
|
||||
-- cmdline tools and lsp servers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue