From 5032aca04f4d0bce092ade66fe914c34af357a5e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 27 Dec 2013 15:32:50 -0200 Subject: Initial import --- vim.dot.link/filetype.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 vim.dot.link/filetype.vim (limited to 'vim.dot.link/filetype.vim') 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 -- cgit v1.2.3