-- Autocmds are automatically loaded on the VeryLazy event -- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua ---- Disable autoformat for lua files -- vim.api.nvim_create_autocmd({ "FileType" }, { -- pattern = { -- --[[ -- Add here any file extensions you would like to disable autoformat on -- --]] -- }, -- callback = function() -- vim.b.autoformat = false -- end, -- })