Ⅰ. 插件描述
Better JavaScrirpt syntax supportⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/javascript-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/javascript-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/javascript-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/JavaScript-syntax
Ⅳ. 文档说明
Hi JavaScript and VIM funs,
If you want to use VIM to edit/view the JavaScript files, you should have this one.
Replace it with the javascript syntax file included with the VIMRUNTIME.
Why it is here:
Because I found that the originaly one which packed with the VIMRUNTIME didn't work very well for the JS files in Mozilla Browser/SeaMonkey/Firefox and Dojo. So I decided to some refine on it.
Hope it is also useful for you~~~
Good Luck,
Yi Zhao (ZHAOYI)
Blog: http://linuxyz.blogspot.com/