Thanks for your bug report. The /set command has never had a -g switch. There is a /var -g switch which was requested many years ago which allows /var to affect global variables. However /set simply affects either local variables if they exist and, if they don't, global variables. That said, it should be possible to add a /set -g as well.