| Summary: | Syntax highlight mode not recognized from the #! line | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | ronaldotto <ynnor> |
| Component: | framework | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | wishlist | CC: | christoph |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
We rely on mime type and extension. That is not enough for that. |
Running Kate 16.08.3 on Windows 10, I open a zsh script file, where the first line says #!/usr/local/bin/env zsh I would expect that this is sufficient to turn on zsh syntax colouring. However, the file is treated as "Normal", i.e. no syntax highlighting.