From 65abfec720806e641c64471104d592aaafed26f7 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 4 Sep 2020 20:56:12 -0400 Subject: Added support for building with Docker and dropped automated Linux i386 builds. Also tweaked Makefile with basic git support for an eventual migration to a new build service. --- src/luadoc.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/luadoc.patch (limited to 'src/luadoc.patch') diff --git a/src/luadoc.patch b/src/luadoc.patch new file mode 100644 index 00000000..e0dae6a2 --- /dev/null +++ b/src/luadoc.patch @@ -0,0 +1,23 @@ +Preserve some formatting for Lua API documentation in Textadept. +--- luadoc/util.lua.orig 2012-02-10 13:34:46.166184400 -0500 ++++ luadoc/util.lua 2012-02-10 13:36:59.847551200 -0500 +@@ -29,8 +29,8 @@ + -- @see string.gsub + + function trim_comment (s) +- s = string.gsub(s, "%-%-+(.*)$", "%1") +- return trim(s) ++ s = string.gsub(s, "%-%-+ ?(.*)$", "%1") ++ return s + end + + ------------------------------------------------------------------------------- +@@ -52,7 +52,7 @@ + if str1 == nil or string.len(str1) == 0 then + return str2 + else +- return str1 .. " " .. str2 ++ return str1 .. "\n" .. str2 + end + end + -- cgit v1.2.3