aboutsummaryrefslogtreecommitdiff
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
parent5ba466f14dfd7604bd96491586d6d4b5ff3fb10f (diff)
downloaddotfiles-ab3a40ee21f5fb9cbcb0bb67eb98fe5cd3772f55.tar.gz
dotfiles-ab3a40ee21f5fb9cbcb0bb67eb98fe5cd3772f55.zip
Use pman as 'keywordprg' for PHP
-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