Repository navigation
feat: add Lua syntax highlighting support - #110
Conversation
Add tree-sitter-lua dependency and implement Lua language module for syntax highlighting of .lua files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Alphabetically sort TokenType variants, color() match arms, and highlight() base_name match arms for consistency. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Organize use statements in standard Rust order: 1. std library 2. External crates (alphabetically) 3. crate modules 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
WalkthroughThis pull request restructures project dependencies with a major overhaul including new utility crates (anyhow, chrono, clap, crossterm, etc.) and expanded tree-sitter language parser support. Simultaneously, it refactors the syntax highlighting system by reorganizing the TokenType enum, updating capture-name mappings, and adds Lua language support. Multiple import statements are reordered across pane files for consistency. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (11)
🧰 Additional context used🧬 Code graph analysis (1)src/syntax/languages/mod.rs (16)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (16)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
close: #90
Changes
tree-sitter-luadependencysrc/syntax/languages/lua.rsmoduleCargo.tomldependencies alphabeticallyTokenTypeenum and match arms alphabeticallyTest plan
cargo checkpassescargo testpassescargo clippypassescargo fmtapplied🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.