local autocmd = vim.api.nvim_create_autocmd -- Create autocommand autocmd("BufWritePre", { buffer = buffer, callback = function() vim.lsp.buf.format { async = false } end })