summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/php.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/php.vim')
-rw-r--r--runtime/ftplugin/php.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/ftplugin/php.vim b/runtime/ftplugin/php.vim
index 884bf72f8..f0b3e02c7 100644
--- a/runtime/ftplugin/php.vim
+++ b/runtime/ftplugin/php.vim
@@ -51,6 +51,11 @@ if exists("loaded_matchit")
endif
" ###
+if exists('&ofu')
+ setlocal ofu=phpcomplete#CompletePHP
+endif
+
+
setlocal commentstring=/*%s*/
" Undo the stuff we changed.