aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-28 10:10:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-28 10:10:40 -0300
commit6bb7f7134e76b8bfc16eff0ba930913c4c46b490 (patch)
tree369ae8f5ac0524511ad41743a3bdb3bb61db6a5f /vim.dot.link
parentbf08c80af54044e8a4fc4a120f12434d2bd799f2 (diff)
downloadvim-6bb7f7134e76b8bfc16eff0ba930913c4c46b490.tar.gz
vim-6bb7f7134e76b8bfc16eff0ba930913c4c46b490.tar.bz2
Fix: config sorting
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