summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/chemistry.lua
blob: ee731546eab36729a4e2ad1d7347f008dbf1a88e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
local tex = require('Snippets.luasniphelperslatex')
local helper = require('Snippets.luasniphelpers')

return {
	s({ trig = 'chg', snippetType = 'autosnippet' },
		fmta(
			'\\ch{ <> ->>[ <> ][ <> ] <> }\\par',
			{
				i(1),
				i(2),
				i(3),
				i(4),
			}
		)
	),

	s({ trig = 'chs', snippetType = 'autosnippet' },
		fmta(
			'\\ch{ <> }',
			{
				i(1),
			}
		)
	),
}