I gave my companions both a polearm and a sword, when they lose their horse or are in a forest they continue using their polearm and can't do much because of that.
I could imagine other similar situations with all the different weapons companions can be given, so a dialogue option to give them...