rg: Declare `types` variable before use
rg: Declare `types` variable before use

Follow-up to https://github.com/zsh-users/zsh-completions/pull/468

joshuarubin/dotfiles,joshuarubin/dotfiles,joshuarubin/dotfiles,joshuarubin/dotfiles