I'm not sure how to translate this, as in As long as I eat right, I'll stay healthy.
I could in theory easily use the French the equivalent of if I continue to but that phrase doesn't quite have the same meaning. For me if I hear if I continue to I assume the speaker is already doing the action. But one doesn't automatically make that assumption with as long as.