Ⅰ. 插件描述
Syntax highlighting file for Mathematica codeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/mathematica-syntax-file'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/mathematica-syntax-file'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/mathematica-syntax-file'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Mathematica-Syntax-File
Ⅳ. 文档说明
[ Note, as of May 2005, this is included in Vim7 ]
This file greatly extends the old Mathematica syntax highlighting that has traditionally come with vim. It has substantial support for Mathematica patterns, operators, and includes comments notation goodies, such as special function comments beginning with (**. Try it out and let me know what you think.
Add autoindenting vimscript #1274, salt and pepper to taste.