dotfiles/.config/nvim/lua/config/autocmds.lua
2023-04-25 00:19:07 +02:00

14 lines
465 B
Lua

-- 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,
-- })