Ⅰ. 插件描述
This is a Vim syntax-highlighting plugin for Faust based on the original file in the Faust repository.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'gmoe/vim-faust'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'gmoe/vim-faust'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'gmoe/vim-faust'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/gmoe/vim-faust
Ⅳ. 文档说明
Vim-Faust
This is Vim syntax-highlighting plugin for the [Faust][] programming language. It is based
on the syntax file in the Faust repository and includes a few additions. I am improving my
Regular Expressions skills as I go along, so please feel free to contribute.
Additions
- MathDoc support
- Separated UI elements and primitives into different highlighting categories
- Label metadata
- Improved integer and decimal recognition
- Fixed forward slash recognition
Installation
I definitely recommend using [Pathogen][] if you are not already:
$ cd ~/.vim/bundle
$ git clone https://github.com/gmoe/vim-faust.git
Or I suppose you could use [Vundle][] if you're one of those kinds of people:
Plugin 'gmoe/vim-faust'
:PluginInstall
Future Additions
- Improve LaTeX support within MathDoc
- Fix over-eager highlighting for the , operator