aboutsummaryrefslogtreecommitdiff
path: root/modules/vim/vim.dot.link/filetype.vim
blob: 2b958bc73ea4c0c2d22d8b02cb68b817e8da47be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
" Vim support file to detect file types

if exists("did_load_filetypes")
 finish
endif

" markdown filetype file

augroup markdown
 au! BufRead,BufNewFile *.mkd setfiletype mkd
augroup END

" detect puppet filetypes

augroup filetypedetect
    au! BufRead,BufNewFile *.pp setfiletype puppet
augroup END

" detect drupal modules

augroup filetypedetect
    au! BufRead,BufNewFile *.module setfiletype php
augroup END