summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/symbols.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/Snippets/tex/symbols.lua')
-rw-r--r--lua/Snippets/tex/symbols.lua21
1 files changed, 21 insertions, 0 deletions
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 '),