From 38fb445fb1631b73ad3a12ee01b30d74464fb0f0 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 19 Jul 2024 11:09:09 +0200 Subject: [PATCH] add typst to some fts for autocmds --- lua/custom/autocmds.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/custom/autocmds.lua b/lua/custom/autocmds.lua index 632e617..fa72636 100644 --- a/lua/custom/autocmds.lua +++ b/lua/custom/autocmds.lua @@ -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', },