This is a very minor issue that has nonetheless annoyed me for months. I\'ve spent hours Googling it to no avail.
To enable syntax highlighting of .ahk files in Notepad+
It should be working. Check again:
Settings → Style Configurator
, select your language and add in the User ext.
the ahk
extension (without a dot!).Language → Define your language
, then select from the dropdown list your language, and in the text box named Ext.
that will appear, add your "ahk" extension.ahk
extension is defined ONLY to AutoHotKey, not in two languages simultaneously (so remove the extension from AutoIt).