mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Fixed pattern for autocomand lazyvim_wrap_spell
This commit is contained in:
parent
d6bda24697
commit
34166ef4f4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue