Vim: Move filetype detection to end

* Fixes some issues with configurations interacting.