10105. Configuration | phpactor-configuration |
11116. Requirements | phpactor-requirements |
12127. Completion | phpactor-completion |
13- 8. Context Menu | phpactor-context-menu |
13+ 8. Completion plugins | phpactor-completion-plugins |
14+ 9. Context Menu | phpactor-context-menu |
1415
1516================================================================================
1617 *phpactor-introduction*
@@ -22,15 +23,16 @@ website:
2223
2324================================================================================
2425 *phpactor-installation*
25- Install Phpactor using your favorite VIM package manager, I am using Vundle.
26+ Install Phpactor using your favorite VIM package manager.
27+ If you don't use any, I recommend vim-plug.
2628Add the plugin to your .vimrc:
2729
28- `Plugin 'phpactor/phpactor'`
30+ `Plug 'phpactor/phpactor', { 'for' : 'php' , 'do' : composer install'} `
2931
3032Then in VIM:
31- `:VundleInstall `
33+ `:PlugInstall `
3234
33- You will need to install the Phpactor dependencies with composer:
35+ If you do not use vim-plug, you will need to install the Phpactor dependencies with composer manually :
3436`$ cd ~/.vim/bundle/phpactor`
3537`$ composer install`
3638
@@ -122,10 +124,26 @@ This information is useful. Other completion mehanisms may not provide this info
122124Always enable omni-completion. If another mechanism is failing to complete,
123125invoke omni-complete to find out why.
124126
127+ ================================================================================
128+ COMPLETION PLUGINS *phpactor-completion-plugins*
129+
130+ Several asynchronous completion frameworks support Phpactor
131+
132+ *phpactor-deoplete*
133+ To use Phpactor with deoplete.nvim add this to your vimrc/init.vim:
134+ `Plug 'Shougo/deoplete.nvim'`
135+ `Plug 'phpactor/phpactor', { 'do' : 'composer install', 'for' : ['php' ] }`
136+ `Plug 'kristijanhusak/deoplete-phpactor'`
137+
138+ Run `PlugInstall` and you're good to go!
139+
125140 *phpactor-neovim-completion-manager*
126- If you are using Neovim with the Neovim Completion Manager you should certainly
127- install ncm-phpactor to benefit from great asynchronous complete-as-you-type
128- auto-completion.
141+ To use Phpactor with Neovim Completion manager add this to your vimrc/init.vim:
142+ `Plug 'roxma/nvim-completion-manager'`
143+ `Plug 'phpactor/phpactor', { 'do' : 'composer install', 'for' : ['php' ] }`
144+ `Plug 'roxma/ncm-phpactor'`
145+
146+ Run `PlugInstall` and you're good to go!
129147
130148================================================================================
131149CONTEXT MENU *phpactor-context-menu*
0 commit comments