[Github-comments] [geany/geany] Highlight syntax for files without an extension (#1899)

elextr notifications at xxxxx
Wed Feb 20 00:49:14 UTC 2019


As I said above, Geany only detects a filetype the first time a file is opened, it will not change the filetype of a file once its open because:

1. that would prevent the user from choosing a filetype manually, and
2. could result in unwanted changes of filetype if a user accidently modified the string that identified the filetype.

So it is not searching for identifying strings whilst editing is in progress, so typing one won't set a filetype.

-- 
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/1899#issuecomment-465372698
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190219/58fb5dfd/attachment.html>


More information about the Github-comments mailing list