lite-xl/docs
Jefferson González 3c64c32379
core: ported regex.gsub to faster native version (#1233)
* added regex.gmatch iterator and other fixes
* fixed issues reported by Guldoman
* push strings with fixed len just in case for binary safety
* added limit to regex.gsub and use pushinteger
* added description to regex.gsub limits param
* replaced substitutions regex description for correctness
* ignore negative limits on regex.gsub
2022-12-20 17:46:37 -04:00
..
api core: ported regex.gsub to faster native version (#1233) 2022-12-20 17:46:37 -04:00
README.md Added README to docs directory. 2021-06-25 03:03:07 -04:00

README.md

Interface Files

This directory holds the documentation for the Lua C API that is hidden in the C source files of Lite. The idea of these files is to serve you as a quick reference about the functionality that is not written in Lua it self. Please note that they don't have any real code, just metadata or annotations.

Also, these interfaces are using EmmyLua annotation syntax which is supported by LSP servers like the Sumneko Lua LSP. This means that you can get nice code autocompletion and descriptions of Lite core libraries and symbols when developing plugins or adding any options to your User Module File (init.lua).

The Base Core

Most of the code that is written in Lua for Lite is powered by the exposed C API in the four namespaces that follow:

Finally, all global variables are documented in the file named globals.lua.