From 0c41ec26a369bb2903872333c2a1147fa76b5940 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 21 Jan 2024 14:17:44 -0600 Subject: [PATCH] feat(nvim): support italics in typst ft --- dots/.config/nvim/after/ftplugin/typst.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dots/.config/nvim/after/ftplugin/typst.lua b/dots/.config/nvim/after/ftplugin/typst.lua index 90fdba18..d7c2b25a 100644 --- a/dots/.config/nvim/after/ftplugin/typst.lua +++ b/dots/.config/nvim/after/ftplugin/typst.lua @@ -8,3 +8,8 @@ vim.api.nvim_set_hl( { underline = true, bold = true } ) ) +vim.api.nvim_set_hl( + 0, + "@text.emph.typst", + { link = "@text.emphasis" } +)