1. arsooy
  2. dotfiles

Source

dotfiles / vim / .vim / filetype.vim

1
2
3
4
5
6
7
8
autocmd BufRead,BufNewFile *.mako        set filetype=mako

" I have to deal with fpc programs every now and then, so ..
autocmd BufRead,BufNewFile *.pp          set filetype=pascal

" treat SCons files as python files
autocmd BufRead,BufNewFile *.scons       set filetype=python
autocmd BufRead,BufNewFile SConstruct    set filetype=python