In R language, there is a function called "ifelse" which sublime colors as if it were an "if" statement rather than as a function.
please report this at https://github.com/sublimehq/Packages/issues for the best chance of it being fixed
Backref https://github.com/sublimehq/Packages/issues/1870. Looks like it's fixed in the current packages.
I must be the one who fixed it.