summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/colors.lua
diff options
context:
space:
mode:
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),
+ }
+ )
+ ),
+
+}