aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'vim.dot.link')
-rw-r--r--vim.dot.link/filetype.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim.dot.link/filetype.vim b/vim.dot.link/filetype.vim
index fb73703..6679641 100644
--- a/vim.dot.link/filetype.vim
+++ b/vim.dot.link/filetype.vim
@@ -37,6 +37,13 @@ augroup puppet
autocmd BufRead,BufNewFile *.pp setfiletype puppet
augroup END
+" PHP
+augroup php
+ autocmd!
+ autocmd BufRead,BufNewFile *.php setfiletype php
+ autocmd FileType php let php_sql_query=1
+augroup END
+
" Drupal *.module and *.install files.
if has("autocmd")
augroup module