Ⅰ. 插件描述
vim syntax for the Flow Based Programming domain-specific language.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ninegrid/vim-fbp'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ninegrid/vim-fbp'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ninegrid/vim-fbp'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ninegrid/vim-fbp
Ⅳ. 文档说明
vim-fbp
A vim syntax for the Flow Based Programming domain-specific language. FBP
facilitates a syntactical expression of hypergraphs to describe interconnections
between components in flow based programming environments.
vim-fbp is not tied to a specific flow based runtime environment, but it was
inspired by the NoFlo FBP project:
TODO
- Finish remaining highlight groups
- Generalize color (currently hardcoded to my personal tastes)
Installation Instructions
- Install tpope's [pathogen] into
~/.vim/autoload/and add the
following line to your~/.vimrc:
call pathogen#runtime_append_all_bundles()
Be aware that it must be added before any `filetype plugin indent on`
lines according to the install page:
> Note that you need to invoke the pathogen functions before invoking
> "filetype plugin indent on" if you want it to load ftdetect files. On
> Debian (and probably other distros), the system vimrc does this early on,
> so you actually need to "filetype off" before "filetype plugin indent on"
> to force reloading.
Create, and change into, the
~/.vim/bundle/directory:$ mkdir -p ~/.vim/bundle $ cd ~/.vim/bundleMake a clone of the
vim-fbprepository:$ git clone git://github.com/ninegrid/vim-fbp.git [...] $ ls vim-fbp/
That's it. Pathogen should handle the rest. Opening a file with a .fbp
extension will load everything.
Updating
Change into the
~/.vim/bundle/vim-fbp/directory:$ cd ~/.vim/bundle/vim-fbpPull in the latest changes:
$ git pull
Everything will then be brought up to date.