From 0d00ee23f35046f8465cb8302b6795d15227dfda Mon Sep 17 00:00:00 2001 From: Nanderty Date: Wed, 31 Jan 2024 15:47:52 +0100 Subject: Snippets and general improvements --- lua/Snippets/tex/symbols.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'lua/Snippets/tex/symbols.lua') diff --git a/lua/Snippets/tex/symbols.lua b/lua/Snippets/tex/symbols.lua index ef57ca4..76935db 100644 --- a/lua/Snippets/tex/symbols.lua +++ b/lua/Snippets/tex/symbols.lua @@ -17,6 +17,13 @@ return { { condition = tex.in_mathzone } ), + s({ trig = 'hbr', snippetType = 'autosnippet' }, + { + t('\\hbar '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'cdo', snippetType = 'autosnippet' }, { t('\\cdot '), @@ -31,6 +38,20 @@ return { { condition = tex.in_mathzone } ), + s({ trig = 'div', snippetType = 'autosnippet' }, + { + t('\\div'), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'nn', snippetType = 'autosnippet' }, + { + t('\\in'), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'app', snippetType = 'autosnippet' }, { t('\\approx '), -- cgit v1.2.3