2023-01-07 17:52:40 +08:00
|
|
|
-- Autocmds are automatically loaded on the VeryLazy event
|
2023-03-30 15:20:00 +08:00
|
|
|
-- Default autocmds that are always set: https://github.com/jul-o/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
2023-01-07 17:52:40 +08:00
|
|
|
-- Add any additional autocmds here
|
2023-10-05 02:55:01 +08:00
|
|
|
|
|
|
|
-- vim.api.nvim_create_autocmd({ "BufWritePre" }, {
|
|
|
|
-- group = vim.api.nvim_create_augroup("format_on_save", {}),
|
|
|
|
-- callback = function()
|
|
|
|
-- vim.lsp.buf.format()
|
|
|
|
-- end,
|
|
|
|
-- })
|