<p>I have copied the system <code>filetype_extensions.conf</code> to the <code>~/.config/geany</code> directory and changed Matlab/Octave's file extension definition to <code>*.matlab</code> from <code>*.m</code> but Geany is still detecting <code>*.m</code> files as Matlab/Octave.  I did the 'Reload configuration' menu item and even quit Geany, then launched it again and it still detects Objective-C files as <code>Matlab/Octave</code>.</p>
<p>I also tried renaming <code>filetype_extensions.conf</code> to <code>~filetype_extensions.conf~</code> in Geany's 'system' directory and this is still happening.</p>
<p><strong>System Info</strong> <g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ️</g-emoji></p>
<ul>
<li>macOS 10.14.6</li>
<li>Geany 1.36 from Geany website (not MacPorts)</li>
</ul>
<p><code>~/.config/geany/filetype_extensions.conf</code> <strong>relevant section</strong></p>
<pre><code>Matlab/Octave=*.matlab;
Nim=*.nim;
NSIS=*.nsi;*.nsh;
Objective-C=*.m;*.mm;*.h;
</code></pre>
<p><strong>Debug messages</strong></p>
<pre><code>21:01:59: Geany INFO             : Geany 1.36, en_US.UTF-8
21:01:59: Geany INFO            : GTK 2.24.32, GLib 2.60.6
21:01:59: Geany INFO            : System data dir: /Applications/Geany.app/Contents/Resources/share/geany
21:01:59: Geany INFO            : User config dir: /Users/will/.config/geany
21:02:00: Geany INFO            : System plugin path: /Applications/Geany.app/Contents/Resources/lib/geany
21:02:00: Geany INFO            : Added filetype Clojure (61).
21:02:00: Geany INFO            : Added filetype Swift (62).
21:02:00: Geany INFO            : Added filetype Graphviz (63).
21:02:00: Geany INFO            : Added filetype Nim (64).
21:02:00: Geany INFO            : Added filetype Arduino (65).
21:02:00: Geany INFO            : Added filetype Genie (66).
21:02:00: Geany INFO            : Added filetype Cython (67).
21:02:00: Geany INFO            : Added filetype TypeScript (68).
21:02:00: Geany INFO            : Added filetype Groovy (69).
21:02:00: Geany INFO            : Added filetype Kotlin (70).
21:02:00: Geany INFO            : Added filetype Scala (71).
21:02:00: Geany INFO            : Added filetype JSON (72).
21:02:00: Geany INFO            : Added filetype CUDA (73).
21:02:00: GLib-GIO DEBUG        : _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
21:02:00: Geany INFO            : Disabling terminal support
21:02:00: Geany INFO            : Loaded /Applications/Geany.app/Contents/Resources/share/geany/tags/std99.c.tags (C), 1618 symbol(s).
21:02:00: Geany INFO            : /Users/will/Projects/libvncserver-git/libvncserver/libvncclient/vncviewer.c : C (UTF-8)
21:02:00: Geany INFO            : /Users/will/Projects/NiblessCocoApp/My Nibless App.app/Contents/MacOS/Makefile : Make (UTF-8)
21:02:00: Geany INFO            : /Users/will/Projects/NiblessCocoApp/My Nibless App.app/Contents/MacOS/main.m : Matlab/Octave (UTF-8)
21:02:00: Geany INFO            : /Users/will/.config/geany/filetype_extensions.conf : Conf (UTF-8)
21:02:46: GLib DEBUG    : posix_spawn avoided (automatic reaping requested) (fd close requested) 
21:07:38: GLib DEBUG    : posix_spawn avoided (automatic reaping requested) (fd close requested) 
</code></pre>

<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/2341?email_source=notifications&email_token=AAIOWJ3VSFYIBV4FNZANNZTQNK363A5CNFSM4I57R7K2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP6UY5A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7BPDIPJTKU2Z2F5ETQNK363ANCNFSM4I57R7KQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7X5W6FXTLSGMAPMPTQNK363A5CNFSM4I57R7K2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP6UY5A.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/2341?email_source=notifications\u0026email_token=AAIOWJ3VSFYIBV4FNZANNZTQNK363A5CNFSM4I57R7K2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP6UY5A",
"url": "https://github.com/geany/geany/issues/2341?email_source=notifications\u0026email_token=AAIOWJ3VSFYIBV4FNZANNZTQNK363A5CNFSM4I57R7K2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP6UY5A",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>