I found a simple mistake in autoload/nrrwrgn.vim at line 229: the `endfun` command cannot be used with `!`.