mirror of
https://github.com/Mudlet/Mudlet
synced 2026-08-13 18:26:27 -04:00
## Brief overview of PR changes/additions Adds [Lua definition files}(https://luals.github.io/wiki/definition-files/) for * [busted](https://github.com/LuaCATS/busted) * [lpeg](https://github.com/LuaCATS/lpeg) * [luassert](https://github.com/LuaCATS/luassert) * [luafilesystem](https://github.com/LuaCATS/luafilesystem/tree/main) ## Motivation for adding to Mudlet With these definition files, the Lua language server can provide syntax highlighting, type hints, and snippets for these third party libraries. Note, this does not change syntax highlighting in Mudlet's editor, but for developers modifying code in `src/mudlet-lua`. ## Other info (issues closed, discussion etc) The following still need definition files: * `luautf8` * `lua-zip` * `lrexlib-pcre` * `lua-yajl` * `LuaSQL-SQLite3` As far as I can tell, there are no ready made lua definition files for these libraries. So they'd need to be hand made. ### Pics #### Syntax Highlighting: Before <img width="881" height="652" alt="Screenshot_2026-02-18_09-36-19" src="https://github.com/user-attachments/assets/a45542bf-bc14-4361-a104-230cf7754413" /> #### Syntax Highlighting: After <img width="881" height="652" alt="Screenshot_2026-02-18_09-35-32" src="https://github.com/user-attachments/assets/5bb9e4a9-d929-469e-a36f-373ebc84bef3" /> |
||
|---|---|---|
| .. | ||
| c_cpp_properties.json | ||
| extensions.json | ||
| settings.json | ||