diff options
| author | Nanderty <psopka@sopka.ch> | 2023-10-12 22:25:33 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-10-12 22:25:33 +0200 |
| commit | 3c6845fdbc5f3448d2f99e444fed1c8758845866 (patch) | |
| tree | fddf3d42b392a048ff72de0951744ee3a23b3d7c /lua/Snippets/tex/colors.lua | |
| parent | c78f40aa7d9869a20b6c7d20f73113a64fbac39d (diff) | |
| download | neovim-config-3c6845fdbc5f3448d2f99e444fed1c8758845866.tar.gz neovim-config-3c6845fdbc5f3448d2f99e444fed1c8758845866.tar.bz2 neovim-config-3c6845fdbc5f3448d2f99e444fed1c8758845866.zip | |
Snippet improvements chemistry
Diffstat (limited to 'lua/Snippets/tex/colors.lua')
| -rw-r--r-- | lua/Snippets/tex/colors.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/Snippets/tex/colors.lua b/lua/Snippets/tex/colors.lua new file mode 100644 index 0000000..ddc8e4d --- /dev/null +++ b/lua/Snippets/tex/colors.lua @@ -0,0 +1,15 @@ +local helper = require('Snippets.luasniphelpers') + +return { + + s({ trig = 'clr', snippetType = 'autosnippet' }, + fmta( + '{\\color{<>}<>}', + { + i(1), + i(2), + } + ) + ), + +} |
