Skip to content

Commit 08b7843

Browse files
authored
fix: improve BufEnter performance (#87)
1 parent 53946c8 commit 08b7843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/elixir/elixirls/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ function M.setup(opts)
349349
vim.api.nvim_create_autocmd({ "FileType" }, {
350350
group = elixir_group,
351351
pattern = { "elixir", "eelixir", "heex", "surface" },
352-
callback = start_elixir_ls,
352+
callback = vim.schedule_wrap(start_elixir_ls),
353353
})
354354
end
355355

0 commit comments

Comments
 (0)