diff options
| author | Nanderty <psopka@sopka.ch> | 2023-11-09 18:03:22 +0100 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-11-09 18:03:22 +0100 |
| commit | 42383b96d9a1b929080824946340d7459d49ac20 (patch) | |
| tree | 1010b642c7d1f72416e0b33fe406d11f1ea04ad4 /lua/Snippets/tex/chemistry.lua | |
| parent | b4399bedea5e8b3fb6612b4c5483248f09089efc (diff) | |
| download | neovim-config-42383b96d9a1b929080824946340d7459d49ac20.tar.gz neovim-config-42383b96d9a1b929080824946340d7459d49ac20.tar.bz2 neovim-config-42383b96d9a1b929080824946340d7459d49ac20.zip | |
chemistry snippets
Diffstat (limited to 'lua/Snippets/tex/chemistry.lua')
| -rw-r--r-- | lua/Snippets/tex/chemistry.lua | 30 |
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 } + ), } |
