Ⅰ. 插件描述
Microsoft SQL Server 2000 T-SQL (Transact-SQL) SyntaxⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/ms-sql-server-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/ms-sql-server-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/ms-sql-server-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/MS-SQL-Server-Syntax
Ⅳ. 文档说明
Syntax file for M$ SQL Server 2000 Transact-SQL
I added all reserved words, system functions and stored procedures.
Notes:
- All types, statements, and operators are colored as Keyword.
- All keywords must be UPPER_CASED.
- @local_variables (lower_cased) are colored as Special
- User-defined types in the form of "Some_User_Defined_Type" are colored as Type. (you must append the ending "_Type")
- @@SYSTEM_VARIABLES are colored as PreProc. Must be UPPER_CASED too.