nvimdotfiles/lua/myworkflow/autocommands.lua

6 lines
127 B
Lua
Raw Normal View History

vim.api.nvim_create_autocmd('BufWritePre', {
callback = function()
vim.lsp.buf.format { async = false }
end
})