From cf5afa1bb3962f9b3f2ca7f752e49ed82b5b2c4d Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 16 Apr 2025 15:29:58 -0400 Subject: mathsf --- nvim/snips/tex/symbols.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nvim/snips/tex/symbols.lua') diff --git a/nvim/snips/tex/symbols.lua b/nvim/snips/tex/symbols.lua index ef64e96..98cd50e 100644 --- a/nvim/snips/tex/symbols.lua +++ b/nvim/snips/tex/symbols.lua @@ -261,6 +261,11 @@ return { { n.i(1) }), { condition = h.in_mathzone } ), + n.s({trig="msf", wordTrig=false, trigEngine="ecma", snippetType="autosnippet"}, + n.fmta("\\mathsf{<>}", + { n.i(1) }), + { condition = h.in_mathzone } + ), n.s({trig="'hb", snippetType="autosnippet"}, { n.t("\\hbar") }, -- cgit v1.3