<p>YAML cannot be overriden like other file formats.</p>
<p>I went through large hurdles to implement docker-compose syntax highlighting. My problem was that I could not override the YAML file format.  It seems that  the main problem is that the build-in file "filetype_extensions.conf" needs to be edited, to comment out one row: #YAML=<em>.yaml;</em>.yml;<br>
otherwise it is not possible to override YAML filetype.</p>
<p>How to reproduce : You may see the steps necessary to make the docker-compose work in<br>
<a href="https://wiki.geany.org/config/docker-compose" rel="nofollow">https://wiki.geany.org/config/docker-compose</a>, and if you change anything you will either break the syntax highlighting of the docker-compose or of any yaml-file which is not a docker-compose.</p>
<p>I get a nagging suspicion that what is called YAML in the built-in  "filetype_extensions.conf" is something that cannot be overriden.  Can it be a built-in from Scintilla, which is impossible to override?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2205?email_source=notifications&email_token=AAIOWJ3JUT5WWQSC5H3YWULP37TPTA5CNFSM4H2Z2CFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3FH27A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6ABXBPVLNYH36TDXTP37TPTANCNFSM4H2Z2CFA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYMVL7FPFJS3MLOIM3P37TPTA5CNFSM4H2Z2CFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3FH27A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2205?email_source=notifications\u0026email_token=AAIOWJ3JUT5WWQSC5H3YWULP37TPTA5CNFSM4H2Z2CFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3FH27A",
"url": "https://github.com/geany/geany/issues/2205?email_source=notifications\u0026email_token=AAIOWJ3JUT5WWQSC5H3YWULP37TPTA5CNFSM4H2Z2CFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3FH27A",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>