summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/php.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-14 18:11:57 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-14 18:12:31 +0200
commit06c80c676e3b0fb7b8f8a80cabd02cefff0c51a8 (patch)
tree541455e2f9c7ca053dfd309a1269cb39b1269d2d /after/ftplugin/php.vim
parentb061a2d99500a2aa3da9dae590ccc0c20edf6eb9 (diff)
downloadvim-polyglot-06c80c676e3b0fb7b8f8a80cabd02cefff0c51a8.tar.gz
vim-polyglot-06c80c676e3b0fb7b8f8a80cabd02cefff0c51a8.zip
Switch to StanAngeloff/php.vim as spf13/PIV relies on plugin stuff, fixes #4
Diffstat (limited to 'after/ftplugin/php.vim')
-rw-r--r--after/ftplugin/php.vim24
1 files changed, 0 insertions, 24 deletions
diff --git a/after/ftplugin/php.vim b/after/ftplugin/php.vim
deleted file mode 100644
index dc42280f..00000000
--- a/after/ftplugin/php.vim
+++ /dev/null
@@ -1,24 +0,0 @@
-
-if !exists("g:DisableAutoPHPFolding")
- let g:DisableAutoPHPFolding = 0
-endif
-
-if !g:DisableAutoPHPFolding
- " Don't use the PHP syntax folding
- setlocal foldmethod=manual
- " Turn on PHP fast folds
- EnableFastPHPFolds
-endif
-
-" Fix matchpairs for PHP (for matchit.vim plugin)
-if exists("loaded_matchit")
- let b:match_skip = 's:comment\|string'
- let b:match_words = '<?\(php\)\?:?>,\<switch\>:\<endswitch\>,' .
- \ '\<if\>:\<elseif\>:\<else\>:\<endif\>,' .
- \ '\<while\>:\<endwhile\>,\<do\>:\<while\>,' .
- \ '\<for\>:\<endfor\>,\<foreach\>:\<endforeach\>' .
- \ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' .
- \ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .
- \ '<\@<=\([^/?][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>,' .
- \ '<:>,(:),{:},[:]'
-endif