From 45bcf8386918bbb475fbe20c48b508aa89ed0624 Mon Sep 17 00:00:00 2001 From: bfredl Date: Thu, 20 Apr 2023 13:19:38 +0200 Subject: refactor(build): include lpeg as a library --- runtime/doc/lua.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 9d4272c906..b3be11efdb 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -648,6 +648,14 @@ regex:match_line({bufnr}, {line_idx} [, {start}, {end}]) *regex:match_line()* |regex:match_str()|. If {start} is used, then the returned byte indices will be relative {start}. +------------------------------------------------------------------------------ +VIM.LPEG *lua-lpeg* + + *vim.lpeg* *vim.re* +The Lpeg library for parsing expression grammars is being included as +`vim.lpeg` (https://www.inf.puc-rio.br/~roberto/lpeg/). In addition, its regex-like +interface is available as `vim.re` (https://www.inf.puc-rio.br/~roberto/lpeg/re.html). + ------------------------------------------------------------------------------ VIM.DIFF *lua-diff* -- cgit