System preferences -> Keyboard -> Input Sources -> Automatically switch to a document's input source
Thanks for sharing!
I think there is a shortcut to switch input languages. I think it is alt/option + Tab but it may be turned off by default
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.