blob: 5c4a4a6f9ad383bc211184df75306221488948d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
" Python files
autocmd BufNewFile,BufRead
\ *.py
\ setfiletype python
autocmd BufNewFile,BufRead
\ *
\ if getline(1) =~# '\m^#!.*\<python[23]\?\>'
\ | setfiletype python
\ | endif
|