summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/colors.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-10-12 22:25:33 +0200
committerNanderty <psopka@sopka.ch>2023-10-12 22:25:33 +0200
commit3c6845fdbc5f3448d2f99e444fed1c8758845866 (patch)
treefddf3d42b392a048ff72de0951744ee3a23b3d7c /lua/Snippets/tex/colors.lua
parentc78f40aa7d9869a20b6c7d20f73113a64fbac39d (diff)
downloadneovim-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.lua15
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),
+ }
+ )
+ ),
+
+}