Stop splitting words for non-English languages
No, it is not a setting that you can toggle; however, you can add the compound word to your dictionary (in Google Keyboard, double-tap the word in the prediction bar), and in the future, it won't split up the words that you add.