ncm2-phpactor


Ⅰ. 插件描述

NCM2 Integration for Phpactor

Ⅱ. 基本信息

创建日期:  2017-08-29
使用用户:  34
Github星:  40
插件作者:  Phpactor

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'phpactor/ncm2-phpactor'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'phpactor/ncm2-phpactor'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'phpactor/ncm2-phpactor'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/phpactor/ncm2-phpactor

Ⅳ. 文档说明

phpactor integration for
ncm2

phpactor

Installation

Assuming you're using vim-plug

" Include Phpactor
Plug 'phpactor/phpactor' ,  {'do': 'composer install', 'for': 'php'}

" Require ncm2 and this plugin
Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
Plug 'phpactor/ncm2-phpactor'

Additionally you will need to set the following options:

autocmd BufEnter * call ncm2#enable_for_buffer()
set completeopt=noinsert,menuone,noselect

添加新评论