You need to "unmap" YAML in *filetype_extensions.conf*.  What you should do is 
in the *user's* `filetype_extensions.conf` add a `YAML=` line that does not 
include the extensions you want somewhere else.  

The technical reason for this is that the system and user's files are merged, 
with the user's one overriding the system ones. Then, they are currently (this 
is NOT something to rely one!) matched alphabetically, so the first occurrence 
wins, and it happens that `YAML` sorts before `YML`.  So if you just add the 
extensions to `YML` but don't remove them from `YAML`, the `YAML` match still 
wins.
Arguably the user's file maybe should be tried first, and the system one only 
if the user's one didn't match, but for now it's not the case, and you should 
then make sure to unmap the extensions you want to reuse.  It should be as easy 
as re-defining the offending line for it not to include these extensions.

-- 
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/2205#issuecomment-504790107

Reply via email to