https://github.com/lexicality/libgmod
EmmyLua bindings for Garry's Mod
https://github.com/lexicality/libgmod
emmylua garrysmod lua
Last synced: 3 months ago
JSON representation
EmmyLua bindings for Garry's Mod
- Host: GitHub
- URL: https://github.com/lexicality/libgmod
- Owner: Lexicality
- License: mit
- Created: 2020-06-08T16:45:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-24T19:26:54.000Z (about 1 year ago)
- Last Synced: 2025-01-24T20:25:24.714Z (about 1 year ago)
- Topics: emmylua, garrysmod, lua
- Language: Lua
- Homepage:
- Size: 1.34 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LibGMOD - LuaCATS bindings for Garry's Mod
The [Garry's Mod Wiki][gmwiki] - now in Lua(CATS) form!
If you're using a modern IDE of some description, you're almost certainly using
sumneko's [Lua Language Server][lua-ls] which relies on [LuaCATS
Annotations][luacats] to provide type hinting and documentation.
This repository tries to provide consistent and useful annotations to help you
develop in GLua in vscode, neovim and so on.
## Usage
1. Clone this repo somewhere handy (I use a `projects` directory)
2. Add the path to the
[`workspace.library`](https://luals.github.io/wiki/settings/#workspacelibrary)
setting
3. Bonus: Add `["//", "/**/", "||", "&&", "!", "!=", "continue"]` to
[`runtime.nonstandardSymbol`](https://luals.github.io/wiki/settings/#runtimenonstandardsymbol)
[gmwiki]: https://wiki.facepunch.com/gmod/
[lua-ls]: https://github.com/LuaLS/lua-language-server
[luacats]: https://luals.github.io/wiki/annotations/