From 4614b58ff7f2e4fb8baab5288ae6f5a799dd83af Mon Sep 17 00:00:00 2001 From: Nanderty Date: Tue, 29 Apr 2025 20:42:06 +0200 Subject: Fixes, us keylayout, execline --- lua/Snippets/tex/chemistry.lua | 10 ++++++++++ lua/Snippets/tex/math.lua | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'lua/Snippets/tex') 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( '^{<>}', { -- cgit v1.2.3