Fixed pattern for autocomand lazyvim_wrap_spell

This commit is contained in:
Mike Pilmer 2024-07-09 23:32:49 -07:00
parent d6bda24697
commit 34166ef4f4

View file

@ -87,7 +87,7 @@ vim.api.nvim_create_autocmd("FileType", {
-- wrap and check for spell in text filetypes
vim.api.nvim_create_autocmd("FileType", {
group = augroup("wrap_spell"),
pattern = { "*.txt", "*.tex", "*.typ", "gitcommit", "markdown" },
pattern = { "text", "plaintex", "typst", "gitcommit", "markdown" },
callback = function()
vim.opt_local.wrap = true
vim.opt_local.spell = true