[BUG] No syntax highlighting for GDScript (.gd) files
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
GDScript (.gd) files have no syntax highlighting in code blocks and diffs. All GDScript code appears as plain white text. Other languages (TypeScript, Python, Rust) are highlighted correctly in the same session.
What Should Happen?
GDScript code should have syntax highlighting (keywords, strings, numbers, types colored) similar to other supported languages.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code CLI in iTerm2
- Ask Claude to create/edit a .gd file and a .ts file
- Compare the diff output — .ts has colors, .gd is plain white
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown
Claude Code Version
2.1.108
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
Code in same session:
<img width="512" height="368" alt="Image" src="https://github.com/user-attachments/assets/e76fa00b-30a8-4984-970e-7b4c7d5adc0c" />
Screenshot from some old version with working highlight:
<img width="494" height="184" alt="Image" src="https://github.com/user-attachments/assets/db3b6c8b-4140-4769-b8e2-27aa8a42ea83" />
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗