The German ministry for research and education sponsors a lot of open-source projects they think will be useful for the open-source-landscape or their own projects some day.
they fund public-interest open source projects, several per funding round.
[0] https://prototypefund.de/en/project/codemirror/