This is not required any more with this upstream MR merged. https://github.com/neovim/neovim/pull/20936