diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-12-27 15:32:50 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-12-27 15:32:50 -0200 |
commit | 5032aca04f4d0bce092ade66fe914c34af357a5e (patch) | |
tree | 3ba885989ff09b1ab3eb0a16ac865e797c8ca0e7 /vim.dot.link/filetype.vim | |
download | vim-5032aca04f4d0bce092ade66fe914c34af357a5e.tar.gz vim-5032aca04f4d0bce092ade66fe914c34af357a5e.tar.bz2 |
Initial import
Diffstat (limited to 'vim.dot.link/filetype.vim')
-rw-r--r-- | vim.dot.link/filetype.vim | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vim.dot.link/filetype.vim b/vim.dot.link/filetype.vim new file mode 100644 index 0000000..2b958bc --- /dev/null +++ b/vim.dot.link/filetype.vim @@ -0,0 +1,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 |