It should be working. Check again:
- Go to
Settings → Style Configurator
, select your language and add in theUser ext.
theahk
extension (without a dot!). - If it's a User Defined Language, then go to
Language → Define your language
, then select from the dropdown list your language, and in the text box namedExt.
that will appear, add your "ahk" extension. - Make sure that the
ahk
extension is defined ONLY to AutoHotKey, not in two languages simultaneously (so remove the extension from AutoIt). - If it's still not working, check your Notepad++ version. Latest is 6.5.1, previous versions might had a bug.