diff options
Diffstat (limited to 'lua/Snippets/tex')
| -rw-r--r-- | lua/Snippets/tex/chemistry.lua | 10 | ||||
| -rw-r--r-- | lua/Snippets/tex/math.lua | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lua/Snippets/tex/chemistry.lua b/lua/Snippets/tex/chemistry.lua index 69915a2..3f6b695 100644 --- a/lua/Snippets/tex/chemistry.lua +++ b/lua/Snippets/tex/chemistry.lua @@ -63,6 +63,16 @@ return { ) ), + s({ trig = 'xdt', snippetType = 'autosnippet' }, + fmta( + '\\ox*{<>,<>}', + { + i(1), + i(2), + } + ) + ), + s({ trig = 'cpnd', snippetType = 'autosnippet' }, fmta( '(\\cmpd{<>}, \\qty{<>}{\\gram}, \\qty{<>}{\\milli\\mol}, \\qty{<>}{\\equiv})', diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua index 56b23ee..5e29b37 100644 --- a/lua/Snippets/tex/math.lua +++ b/lua/Snippets/tex/math.lua @@ -150,7 +150,7 @@ return { { condition = tex.in_mathzone } ), - s({ trig = 'ΓΆΓΆ', snippetType = 'autosnippet' }, + s({ trig = ';;', snippetType = 'autosnippet' }, fmta( '^{<>}', { |
