aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/php.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-05 20:42:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-05 20:42:21 +1200
commitab3a40ee21f5fb9cbcb0bb67eb98fe5cd3772f55 (patch)
tree66a4f1673d4c53c49f40bb0d66c0a484c9508928 /vim/after/ftplugin/php.vim
parentRemove surround.vim's insert mode maps (diff)
downloaddotfiles-ab3a40ee21f5fb9cbcb0bb67eb98fe5cd3772f55.tar.gz
dotfiles-ab3a40ee21f5fb9cbcb0bb67eb98fe5cd3772f55.zip
Use pman as 'keywordprg' for PHP
Diffstat (limited to 'vim/after/ftplugin/php.vim')
-rw-r--r--vim/after/ftplugin/php.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim
index c98c1264..9b7c2bb0 100644
--- a/vim/after/ftplugin/php.vim
+++ b/vim/after/ftplugin/php.vim
@@ -13,6 +13,10 @@ setlocal comments=s1:/*,m:*,ex:*/,://,:#
setlocal formatoptions+=or
let b:undo_ftplugin .= '|setlocal comments< formatoptions<'
+" Use pman as 'keywordprg'
+setlocal keywordprg=pman
+let b:undo_ftplugin .= '|setlocal keywordprg<'
+
" Stop here if the user doesn't want ftplugin mappings
if exists('g:no_plugin_maps') || exists('g:no_php_maps')
finish