You are free to make up some new terms yourself, but if you want to be able to actually communicate with others you need to be willing to look past these kinds of issues and understand what is actually meant.
[0]https://www.etymonline.com/word/socialist [1]https://en.wikipedia.org/wiki/Henri_de_Saint-Simon
In this case, a person (or many people) gave away their own belongings for free.
To use the word "socialism" on such a phenomenon unironically would mean that socialism no longer describes a kind of society, as it now refers to individual choices. The meaning is fundamentally different. In that case, it should also lose all the negative connotations that come with its more formal meaning.
In that conversation, it didn't; the neighbor named it socialism, as a snarky attack, which means he was still referring to the definition that describes a society.
> you need to be willing to look past these kinds of issues and understand what is actually meant.
I don't really know what the neighbor really meant when he said that it was socialism. What the commenter did was not related to any "-ism" as far as I can think of. Maybe the neighbor did it on purpose because he didn't like being on the other end of charity. Maybe he really didn't know what socialism means, never looked it up, and used it as he guessed from whatever he was reading.
You can invent a new term for it, but it's still not socialism. In fact, it still will not be socialism if half of the society willingly donate some of their food to the other half.
Because even in an extreme libertarian society, people still can willingly give away things for free. In fact, in any form of society where ownership is to be respected, the act of charity is necessarily allowed to exist.
The core of socialism is social ownership, not just "sharing". Coming back to the scenario: the parent commenter would literally never own that food, and therefore be compelled to share, to imply that the act is in any way related to socialism.