flocon/dot_config/nvim/lua/core/autocmds.lua
Anthony Rodriguez 123b04ba0e Add .config/nvim/init.lua
Add .config/nvim/lazy-lock.json
Add .config/nvim/lua/config/lazy.lua
Add .config/nvim/lua/core/autocmds.lua
Add .config/nvim/lua/core/options.lua
Add .config/nvim/lua/plugins/autopairs.lua
Add .config/nvim/lua/plugins/catppuccin.lua
Add .config/nvim/lua/plugins/lsp.lua
Add .config/nvim/lua/plugins/syntax.lua
Add .config/nvim/lua/plugins/telescope.lua
Update zed/settings.json
2024-08-09 18:37:06 +02:00

8 lines
180 B
Lua

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