[Github-comments] [geany/geany] Opening HTM file does not select the HTML highlighter (#1985)

Colomban Wendling notifications at xxxxx
Thu Oct 25 19:36:41 UTC 2018


Indeed, because even if Geany's *filetype_extensions.conf* list `*.htm` under `HTML`, the patterns are case sensitive so won't match `foo.HTM`.  We could add various uppercase variants including `HTM` and `HTML`.

PS: and no, just being case insensitive is not really an option, as some extensions are case sensitive, like `.C` which is C++, but `.c` is C.  Maybe we could consider as an option to perform a second case-insensitive pass in case we didn't find a match.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1985#issuecomment-433178500
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181025/db729f7a/attachment.html>


More information about the Github-comments mailing list