improved ignored filetypes and corrected autocmd for resizing