Colour additional functions within an editor theme


I like the way the editor theme in RStudio colours functions like if, function, and stop. Is it possible to extend this syntax highlighting so that certain additional words (like abort) are coloured the same way? (I’m using Monokai if that’s important.)


Thanks for the feature request! It’s not currently possible to extend the syntax highlight rules used by RStudio, but you might consider filing this as a feature request at


No problem! Lodged as #2042.


Maybe you already know this: you can highlight also function calls by ticking the checkbox:

Tools–>Global Options–>Code–>Display–>Highlight R function calls