Ⅰ. 插件描述
Set options specific for the syntax group under cursorⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tomtom/setsyntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tomtom/setsyntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tomtom/setsyntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tomtom/setsyntax_vim
Ⅳ. 文档说明
This plugin sets options/variables according to the syntax under the
- It was originally created in response to
http://groups.google.com/group/vim_use/browse_frm/thread/ff624d5a68f0a562
and to solve a similar problem. While this plugin solves that other
related problem it doesn't seem to work properly for tex files.
Status: Not in use (I wouldn't know if there were problems)
Dependencies:
hookcursormoved :: http://github.com/tomtom/hookcursormoved_vim
> git clone git://github.com/tomtom/hookcursormoved_vim.gittlib :: http://github.com/tomtom/tlib_vim
> git clone git://github.com/tomtom/tlib_vim.gitInstall: See http://github.com/tomtom/vimtlib/blob/master/INSTALL.TXT
See http://github.com/tomtom for related plugins.