get_full_type function

Obtain the type of VIM to estimate using partial matching