1 2 3 4 5
" vim filetype detect file " Set filetype to 'python' on opening a buffer as '*.py' au BufNewFile,BufRead *.py setfiletype python