Skip to content

Commit c226b49

Browse files
chore(build): auto-generate docs
1 parent 65a2d52 commit c226b49

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/plugins/lsp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ end
157157
```lua
158158
{
159159
"neovim/nvim-lspconfig",
160-
event = { "BufReadPre", "BufNewFile", "BufWritePre" },
160+
event = "LazyFile",
161161
dependencies = {
162162
"mason.nvim",
163163
{ "mason-org/mason-lspconfig.nvim", config = function() end },
@@ -273,7 +273,7 @@ end
273273
return ret
274274
end,
275275
---@param opts PluginLspOpts
276-
config = function(_, opts)
276+
config = vim.schedule_wrap(function(_, opts)
277277
-- setup autoformat
278278
LazyVim.format.register(LazyVim.lsp.formatter())
279279

@@ -411,7 +411,7 @@ end
411411
resolve("denols")
412412
resolve("vtsls")
413413
end
414-
end,
414+
end),
415415
}
416416
```
417417

0 commit comments

Comments
 (0)