1 2 3
augroup PrettierFileDetect autocmd BufNewFile,BufReadPost *.python setfiletype python augroup end