summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/chemistry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/Snippets/tex/chemistry.lua')
-rw-r--r--lua/Snippets/tex/chemistry.lua30
1 files changed, 30 insertions, 0 deletions
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 }
+ ),
}