feat: add autocmds config

This commit is contained in:
Devin Haska 2025-05-27 11:54:47 -07:00
parent 7675e0f398
commit 01d12e0ef4
3 changed files with 21 additions and 0 deletions

7
lua/autocmds.lua Normal file
View file

@ -0,0 +1,7 @@
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = { "gitcommit", "markdown", "md", "mdx" },
callback = function()
vim.opt_local.spell = true
vim.opt.wrap = true
end
})