Ⅰ. 插件描述
Lua 5.2 Reference Manual document for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'whoisusingmyname/vim-lua-manual'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'whoisusingmyname/vim-lua-manual'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'whoisusingmyname/vim-lua-manual'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/whoisusingmyname/vim-lua-manual
Ⅳ. 文档说明
# This is a Lua 5.2 Reference Manual document for vim
Usage:
This vim help doc is a copy of official Lua 5.2 Reference Manual
All help keywords have the same prefix lua., so you can use like following example:
// open vim help doc of lua 5.2 reference manual
:help lua.manual
// open vim help doc of table chapter in lua manual
:help lua.table
// open vim help doc of function `insert` in table
:help lua.table.insert
Installation
manual
Just
download the
archive, unzip it and then put doc directory into your ~/.vim/
Vundle
Just put following line in your .vimrc, also see
Vundle's Quick Start
Plugin 'whoisusingmyname/vim-lua-manual'