Ⅰ. 插件描述
original Director Lingo script colorsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/lingodirector-vim-is-written-on'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/lingodirector-vim-is-written-on'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/lingodirector-vim-is-written-on'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/lingodirector.vim
Ⅳ. 文档说明
These are the original script colors as Macromedia Director uses them. This color scheme will probably only make sense with the Lingo syntax file (vimscript #1010). This way you can not only see the colors your are used to, you can also convert them to HTML to put colored Lingo code snippets on your webpage.
You can even choose whether or not to put the line numbers in.
Screenshots:
http://www.oxpal.com/downloads/vim/lingodirector_nonumber.png
http://www.oxpal.com/downloads/vim/lingodirector_number.png
To create an HTML output:
- Open a lingo file.
- Select this color scheme.
- Type ":set number!" to toggle the line numbers on and off
- Then either choose the menu option "Sytnax>Convert to HTML", or type ":runtime! syntax/2html.vim"
- You are then in the output file, wich you can save, or copy