Ⅰ. 插件描述
OpenOffice.org 1.x/StarOffice 5.2,6,7 setup response file syntaxⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/ooosetup-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/ooosetup-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/ooosetup-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/ooosetup.vim
Ⅳ. 文档说明
This script provides syntax highlighting for the OpenOffice 1.x and StarOffice 5.2, 6.x, 7.x setup responses file as documented by http://installation.openoffice.org/01RESPONSE_SO52_final_rev2.pdf
A test suite for the highlighting is provided (TestSuite.OOo) to help discover bugs. Do not use it with the setup program.
Release notes for 1.0 :
- syntax is quite strict about spaces (stricter than the setup program). The TestSuite.OOo will show you what is recognized.
- the Module_Specify may not correctly highlight module sets definitions. Patches are welcome.