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.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/Snippets/tex/chemistry.lua b/lua/Snippets/tex/chemistry.lua
new file mode 100644
index 0000000..5c4742c
--- /dev/null
+++ b/lua/Snippets/tex/chemistry.lua
@@ -0,0 +1,16 @@
+local tex = require('Snippets.luasniphelperslatex')
+local helper = require('Snippets.luasniphelpers')
+
+return {
+ s({ trig = ',,', snippetType = 'autosnippet' },
+ fmta(
+ '\\ch{<>->>[<>][<>]<>}\\par',
+ {
+ i(1),
+ i(2),
+ i(3),
+ i(4),
+ }
+ )
+ ),
+}