Share Lua code with CodeThis
Lua for Neovim plugins, Roblox scripts, and embedded game logic.
Paste Lua nowWhat you get
- Lua-aware syntax highlighting via CodeMirror
- Instant shareable link — no signup required
- Optional expiration (7 days, 30 days, permanent)
- Password protection for private pastes
- Works with the REST API and MCP server
- Rich markdown and MDC components alongside code
Common use cases for Lua pastes
- Neovim configuration
- Roblox / Love2D scripts
- Redis EVAL scripts
- OpenResty handlers
Example
local function debounce(fn, ms)
local timer
return function(...)
if timer then timer:close() end
timer = vim.defer_fn(fn, ms)
end
end
Related languages
Ready to share some Lua?