no need for an extra function here. move the functionality into vim_path_index.