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

Reply via email to