aboutsummaryrefslogtreecommitdiff
path: root/src/luadoc.patch
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-04 20:56:12 -0400
committermitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-04 20:56:12 -0400
commit65abfec720806e641c64471104d592aaafed26f7 (patch)
tree88a3ef110e4b879ddf5aa5ed64725c9db520c6bd /src/luadoc.patch
parentaffc6c91f7e26b0ba76a82c4eea94926cf46afb0 (diff)
downloadtextadept-65abfec720806e641c64471104d592aaafed26f7.tar.gz
textadept-65abfec720806e641c64471104d592aaafed26f7.zip
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.
Diffstat (limited to 'src/luadoc.patch')
-rw-r--r--src/luadoc.patch23
1 files changed, 23 insertions, 0 deletions
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
+