Skip to content

Commit

Permalink
Format lua wiki references.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshPiper committed Dec 5, 2019
1 parent f7d362a commit 2602619
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config.ld
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ tparam_alias("vec", "Vector")
tparam_alias("ent", "Entity")
tparam_alias("color", "Color")
tparam_alias("veh", "Vehicle")
tparam_alias("ang", "Angle")
tparam_alias("ang", "Angle")

local luaWikiUrl = "http://lua-users.org/wiki/%s"
local luaWikiName = "Lua Users Wiki: %s"
custom_see_handler("^lua%-wiki%((%w+)%)$", function(page)
return luaWikiName:format(page), luaWikiUrl:format(page)
end)

0 comments on commit 2602619

Please sign in to comment.