feat: add wrap for tex files
This commit is contained in:
parent
5e147aec68
commit
a5c06e6707
@ -45,7 +45,7 @@ autocmd("Filetype", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
autocmd("Filetype", {
|
autocmd("Filetype", {
|
||||||
pattern = "markdown",
|
pattern = { "markdown", "tex" },
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.opt.wrap = true
|
vim.opt.wrap = true
|
||||||
vim.o.formatoptions = "l"
|
vim.o.formatoptions = "l"
|
||||||
|
Loading…
Reference in New Issue
Block a user