summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/math.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2024-10-01 20:30:45 +0200
committerNanderty <psopka@sopka.ch>2024-10-01 20:30:45 +0200
commitf19424177c106b50b55939641826da43f554b830 (patch)
tree09d55515b38ef8fa0098f77247790d0f9e352282 /lua/Snippets/tex/math.lua
parent0fe818a2483ddc1232429c82af58a9e3111de1ec (diff)
downloadneovim-config-f19424177c106b50b55939641826da43f554b830.tar.gz
neovim-config-f19424177c106b50b55939641826da43f554b830.tar.bz2
neovim-config-f19424177c106b50b55939641826da43f554b830.zip
imporove LaTeX snippets
Diffstat (limited to 'lua/Snippets/tex/math.lua')
-rw-r--r--lua/Snippets/tex/math.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua
index 25a7db9..ddaf2a2 100644
--- a/lua/Snippets/tex/math.lua
+++ b/lua/Snippets/tex/math.lua
@@ -174,6 +174,13 @@ return {
{ condition = tex.in_mathzone }
),
+ s({ trig = 'str', snippetType = 'autosnippet' },
+ {
+ t('\\star '),
+ },
+ { condition = tex.in_mathzone }
+ ),
+
s({ trig = 'df', snippetType = 'autosnippet' },
{ t('\\,d ') },
{ condition = tex.in_mathzone }
@@ -181,14 +188,14 @@ return {
s({ trig = 'bgg', snippetType = 'autosnippet' },
{
- t('\\bigg'),
+ t('\\bigg '),
},
{ condition = tex.in_mathzone }
),
s({ trig = 'rvr', snippetType = 'autosnippet' },
{
- t('\\rvert'),
+ t('\\rvert '),
},
{ condition = tex.in_mathzone }
),