From 810c4f52fecb90a236dc0f44b24bcfa6f7a31155 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 29 Jan 2017 10:12:43 -0500 Subject: [PATCH] add red text function --- contrib/lua/memeposting.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/lua/memeposting.lua b/contrib/lua/memeposting.lua index 637ac70..1676db8 100644 --- a/contrib/lua/memeposting.lua +++ b/contrib/lua/memeposting.lua @@ -17,6 +17,10 @@ function psy_text(str) return span_text("psy", str) end +function red_text(str) + return span_text("redtext", str) +end + function pre_text(str) str = str:gsub("%(", "(")