Skip to content

Lua enums - #466

Open
ynks wants to merge 1 commit into
mainfrom
hotfix/lua-enums
Open

ynks wants to merge 1 commit into
mainfrom
hotfix/lua-enums

Conversation

@ynks

@ynks ynks commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Adds support for ---@enum in lua and it will appear as a dropdown on the inspector

local M = {}

---@enum Option1 Option2 Option3
M.my_enum = "Option1" --default

return M

@ynks

ynks commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

im gonna fix #467 before merging this

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant