docs(lua): add Lua 5.1 reference manual (#19663)

based on http://www.vim.org/scripts/script.php?script_id=1291
reformatted to match Nvim documentation style; removed irrelevant sections

Co-authored-by: dundargoc <gocundar@gmail.com>
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
This commit is contained in:
dundargoc
2022-08-08 18:58:32 +02:00
committed by GitHub
parent 68c674af0f
commit e6680ea7c3
4 changed files with 4983 additions and 16 deletions

View File

@@ -526,7 +526,7 @@ function vim.trim(s)
return s:match('^%s*(.*%S)') or ''
end
--- Escapes magic chars in a Lua pattern.
--- Escapes magic chars in |lua-patterns|.
---
---@see https://github.com/rxi/lume
---@param s string String to escape