neovim/lua/autocmds.lua
2024-01-10 10:22:30 -08:00

7 lines
202 B
Lua

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