From 42383b96d9a1b929080824946340d7459d49ac20 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Thu, 9 Nov 2023 18:03:22 +0100 Subject: chemistry snippets --- lua/Snippets/tex/chemistry.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'lua/Snippets/tex/chemistry.lua') diff --git a/lua/Snippets/tex/chemistry.lua b/lua/Snippets/tex/chemistry.lua index 3446fba..7a6d889 100644 --- a/lua/Snippets/tex/chemistry.lua +++ b/lua/Snippets/tex/chemistry.lua @@ -35,4 +35,34 @@ return { } ) ), + + s({ trig = 'sbd', snippetType = 'autosnippet' }, + fmta( + '-[::<>]', + { + i(1), + } + ), + { condition = tex.in_scheme } + ), + + s({ trig = 'dbd', snippetType = 'autosnippet' }, + fmta( + '=[::<>]', + { + i(1), + } + ), + { condition = tex.in_scheme } + ), + + s({ trig = 'rrw', snippetType = 'autosnippet' }, + fmta( + '@{<>}', + { + i(1), + } + ), + { condition = tex.in_scheme } + ), } -- cgit v1.2.3