d2f9eeea07
* Allow passing font options to renderer.font:copy(). * Added renderer.font:get_path() * Reintroduced set_size() for more faster font size changes * Swapped copy wiht set_size on scale plugin for better performance * Use code_font:copy() instead of renderer.font.load() on language_md to properly match user font now that font options are supported on copy. * Added new changes to renderer docs |
||
---|---|---|
.. | ||
api | ||
README.md |
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.