As @codebrainz thumbed up, changing the detection logic to using the filetype sounds good.
--
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/2041#issuecomment-452689512