summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/symbols.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2024-01-31 15:47:52 +0100
committerNanderty <psopka@sopka.ch>2024-01-31 15:47:52 +0100
commit0d00ee23f35046f8465cb8302b6795d15227dfda (patch)
tree3f3042de3a141e491bc98acd91490a263939a74d /lua/Snippets/tex/symbols.lua
parent42383b96d9a1b929080824946340d7459d49ac20 (diff)
downloadneovim-config-0d00ee23f35046f8465cb8302b6795d15227dfda.tar.gz
neovim-config-0d00ee23f35046f8465cb8302b6795d15227dfda.tar.bz2
neovim-config-0d00ee23f35046f8465cb8302b6795d15227dfda.zip
Snippets and general improvements
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 '),