From 338818c744c0c9138a519ad01818e69c6c21faae Mon Sep 17 00:00:00 2001 From: Nanderty Date: Tue, 19 Mar 2024 22:21:51 +0100 Subject: Fix treesitter for tex, add whitespace indicator in visual mode --- lua/Snippets/tex/symbols.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lua/Snippets/tex/symbols.lua') diff --git a/lua/Snippets/tex/symbols.lua b/lua/Snippets/tex/symbols.lua index 76935db..4fd52c9 100644 --- a/lua/Snippets/tex/symbols.lua +++ b/lua/Snippets/tex/symbols.lua @@ -59,6 +59,13 @@ return { { condition = tex.in_mathzone } ), + s({ trig = 'plm', snippetType = 'autosnippet' }, + { + t('\\pm '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'leq', snippetType = 'autosnippet' }, { t('\\leq '), -- cgit v1.2.3