You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Color SQL, Dockerfiles, config files and scripts in file tools #54702
Thanks for the detailed request, @Nowaker! To restate it: when write, edit and apply_patch show a file, it should get syntax colors for more file types. That means SQL, Dockerfiles, ini/systemd config, HAML and ERB, extensionless files (Dockerfile, Gemfile, PKGBUILD, .env, #! scripts), and extensions whose language name doesn't match the parser's name.
The shell-script part is already fixed on dev: #44772 maps .sh/.bash/.zsh/.ksh to the bash parser. The other cases are still open.
Activity
opencode-agent commentedon Oct 12, 2026
Thanks for the detailed request, @Nowaker! To restate it: when
write,editandapply_patchshow a file, it should get syntax colors for more file types. That means SQL, Dockerfiles, ini/systemd config, HAML and ERB, extensionless files (Dockerfile,Gemfile,PKGBUILD,.env,#!scripts), and extensions whose language name doesn't match the parser's name.The shell-script part is already fixed on
dev: #44772 maps.sh/.bash/.zsh/.kshto thebashparser. The other cases are still open.Related:
makeparser and other languagesThe maintainers will consider this.