add typst to some fts for autocmds

This commit is contained in:
Christoph J. Scherr 2024-07-19 11:09:09 +02:00
parent 108d4d4fef
commit 38fb445fb1
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ vim.api.nvim_create_autocmd('FileType', {
'text',
'markdown',
'help',
'typst',
},
callback = function()
vim.opt_local.wrap = true
@ -37,6 +38,7 @@ vim.api.nvim_create_autocmd('FileType', {
'markdown',
'plaintex',
'tex',
'typst',
},
callback = function()
vim.opt_local.conceallevel = 0
@ -50,6 +52,7 @@ vim.api.nvim_create_autocmd('FileType', {
pattern = {
'latex',
'markdown',
'typst',
'plaintex',
'tex',
},