First check neighbours with similar extension, then try with neighbours with extension got from autocmd BufRead.