vallode / dfhack-lua-definitions

LuaLS lua language server definitions for DFHack's library
4 stars 0 forks source link
dfhack dwarf-fortress lua

DFHack Lua API Definitions

Main branch test status Current release

Lua language server type definitions for DFHack's Lua API.

Any form of contribution (feedback, criticism, words of encouragement) is welcome. Feel free to open an issue, email, or ping me on the DFHack discord.

[!NOTE]

These definitions are work-in-progress, they can lie to you. You can find up to date documentation on the DFHack website. That being said, please raise any problems here or on DFHack's Discord server.

Installation

Before using the definitions, make sure you have lua-language-server installed. You can find instructions on their website.

You can either download the latest release or a nightly build artifact.

VSCode / Code - OSS

You can also read this well-written guide with screenshots by Discord user Agnieszka.

Emacs

Reportedly working but no instructions yet.

Helix

Known issues

Tips

Credits

As with all things, development of this library would not be possible without help.