Ⅰ. 插件描述
Ki (ClojureScript inspired Sweet.js macros) syntax highlighting for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'memoways/ki-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'memoways/ki-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'memoways/ki-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/memoways/ki.vim
Ⅳ. 文档说明
# ki.vim
This vim plug-in provides minimalist support for the ki language
Mostly, right now, it sets the filetype to 'clojure' automatically
when you open a .ki or .ki.js file. Support might be extended
later on with proper highlighting, comments, error checking, etc.
For this plugin to work, you'll need vim-clojure-static -
or a sufficiently version of vim that ships it.
Install instructions
Vundle is a very neat tool to manage your vim plugins, and
is the recommended way to get ki.vim and keep it up-to-date.
Add this to your ~/.vimrc:
Bundle 'memoways/ki.vim'Then restart vim, run :BundleInstall, and you're set!
Installing ki.vim with pathogen should be as easy as cloning it in~/.vim/bundle