[Github-comments] [geany/geany] Filetype auto detection not working? (Issue #2997)

xiota notifications at xxxxx
Fri Nov 12 19:00:02 UTC 2021


According to a [comment](https://github.com/geany/geany/issues/1899#issuecomment-465095249) at #1899:

> Note that Geany does in fact detect the prefixes you suggested:
> 
>     <!DOCTYPE html
>     <html
>     <?xml
>     <?php
>
> and a whole bunch of #! names.

However, when I tested each of the prefixes mentioned above in a file named `test`, the assigned filetype is "None".

Since filetype autodetection occurs only when documents are opened, I closed and reopened the document after changing the first line prefix.

-- 
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/2997
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211112/72d77de8/attachment.htm>


More information about the Github-comments mailing list