Ⅰ. 插件描述
syntax highlighting for ikiwiki filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/ikiwiki-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/ikiwiki-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/ikiwiki-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/ikiwiki-syntax
Ⅳ. 文档说明
This syntax file highlights the wikilinks and directives in IkiWiki files
(.mdwn)
Please note that this syntax definition only defines highlighting for directives
and wikilinks, not markdown files. To obtain proper highlighting of ikiwiki
files (markdown + wikilinks/directives), you must install the Markdown syntax
file (vimscript #1242).
You can also use this syntax definition if you use reST, by installing the reST
syntax file (vimscript #973), and putting the following in your .vimrc file:
let g:ikiwiki_render_filetype = 'rest'
This step is not required for using markdown files.
This syntax file has a git repository; you can clone it with:
git clone http://git.devnull.li/ikiwiki-syntax.git