Neovim is a fork of the original Vim codebase. Much of the code hasn't been touched yet, including the code quoted in the article.
> The function is short enough to paste below. It is pretty unique to Neovim, as it was wrought for its brand new event-oriented nature: