Ⅰ. 插件描述
Tcl syntax TEST versionⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/tcl-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/tcl-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/tcl-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/tcl.vim
Ⅳ. 文档说明
I am experimenting with updating the syntax file for Tcl. I have added more "keywords" and I have enable the syntax highlighting of an option flags starting with "-" (i.e. -padx, -text).
Since Tcl doesn't officially have keywords they may need to be pared down since I added all of the Tcl and Tk commands from the Tcl wiki page.
Note: This is basically just something I am working on and not for consumption. However, if you have suggestions or requests please email me.
Note: You need to put "let tcl_extended_syntax=1" in your vimrc to get the extra OO syntax coloring. Otherwise you get the "standard" syntax coloring.