From ab3a40ee21f5fb9cbcb0bb67eb98fe5cd3772f55 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 5 Aug 2018 20:42:21 +1200 Subject: Use pman as 'keywordprg' for PHP --- vim/after/ftplugin/php.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vim/after/ftplugin') 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 -- cgit v1.2.3