Lua Editor
A fast, modern editor for Lua—lightweight syntax, flexible scripting, and clean development.
Try Lua in ZedPowered by Tree-sitter
Precise Syntax Highlighting
Tables, coroutines, and metamethods in Lua are highlighted with clarity and precision.
Semantic Understanding
Tree-sitter parses your code into a syntax tree, enabling features like code folding, selection expansion, and precise highlighting.
Instant Updates
Syntax highlighting updates in real-time as you type, with no lag or delay even in large files.
Error Recovery
Even with syntax errors, Tree-sitter maintains accurate highlighting for the rest of your code.
Language Server Protocol
Full Lua LSP Integration
Zed provides intelligent code completion, diagnostics, and refactoring capabilities for Lua through seamless language server integration.
Popular Extensions
Enhance Zed with popular extensions from our growing ecosystem.
Browse all extensionsGet Started with Lua
Everything you need to begin your Lua development journey in Zed.
Debugging Support
Lua Debugging
While native Lua debugging isn't available yet, Zed offers powerful debugging capabilities for other languages with full DAP support.
Learn about Zed's Debugger
Debug Adapter Protocol
Zed supports the Debug Adapter Protocol (DAP) for standardized debugging across multiple languages.

Universal Debugging Features
Breakpoints, variable inspection, call stack navigation, and step-through debugging when supported.
Why Zed
Built for Modern Lua Development
Experience features that make Lua development faster and more enjoyable.
Download ZedFast
Open large Lua projects instantly. Navigate & edit with zero lag, even in massive codebases.
Agentic
Generate Lua code, write tests, and refactor with integrated AI that understands your context.
Collaborative
Pair program, debug together, and share your Lua projects with your team in real-time.
Explore Other Languages
Zed supports more than 80 programming languages out of the box.
View all supported languages