[quote=“Francisc”]I’ve managed to do that creating a copy of Monokai and editing it.
Then changing the language definitions so that this
falls into a different category than variables in JavaScript for example.
But this is a hack.[/quote]
Unfortunately, this is what is required. You have to amend the tmLanguage definition file to give ‘this’ and ‘use strict’ specific scopes, then modify your theme file to colour these scopes.
But you need to be careful where, and how, you place these new scopes in the language file, as it can potentially break other scoping/colours around these terms. If you don’t wish to study the definition file - which is quite a big job! - you’ll need to use a bit of “intelligent guesswork”. Unless someone else might offer specific instructions for you.
Perhaps just include ‘use strict’ with the word debugger:
<dict>
<key>match</key>
<string>\b(debugger|use strict)\b</string>
<key>name</key>
<string>keyword.other.js</string>
</dict>