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