diff options
| author | Nanderty <psopka@sopka.ch> | 2023-03-28 11:44:33 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-03-28 11:44:33 +0200 |
| commit | 4cf61987eebf88f3878e1b979d83d14de730a8db (patch) | |
| tree | c8596c84707b193c9b8ac15efbf9633c2daccbcd /lua/Snippets/tex/chemistry.lua | |
| parent | ef44657937474145403c2b441b862035914d6a44 (diff) | |
| download | neovim-config-4cf61987eebf88f3878e1b979d83d14de730a8db.tar.gz neovim-config-4cf61987eebf88f3878e1b979d83d14de730a8db.tar.bz2 neovim-config-4cf61987eebf88f3878e1b979d83d14de730a8db.zip | |
more Snippets
Diffstat (limited to 'lua/Snippets/tex/chemistry.lua')
| -rw-r--r-- | lua/Snippets/tex/chemistry.lua | 16 |
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), + } + ) + ), +} |
