[luatex] Lua API for the Language Server Protocol (LSP)

Josef Friedrich josef at friedrich.rocks
Thu Jan 5 21:35:39 CET 2023


Hello everybody!

I started a little project to bring the documentation of the LuaTeX Lua 
API in my text editor of choice:

https://github.com/Josef-Friedrich/LuaTeX_Lua-API

Using the lua-language-server 
(https://github.com/sumneko/lua-language-server) inside Visual Studio 
Code I found success fairly quickly.

I had to write some Lua files with empty functions and package the 
documentation with annotation as docstrings to this functions. Then I 
realized how huge the Lua API of LuaTeX is....

This project may still be interesting and useful for some of you, 
although it is only in the early stages? Or is there already a similar 
project? Or does one of you want to contribute to this project?

Kind regards

Josef

PS: The Language Server Protocol is now supported by a large number of 
editors ... Neovim, Emacs, Sublime Text


More information about the luatex mailing list.