Ⅰ. 插件描述
Mirror of HorseMD/tf2syntax.vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'bendoan/tf2syntax-vim-hard-things'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'bendoan/tf2syntax-vim-hard-things'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'bendoan/tf2syntax-vim-hard-things'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/bendoan/tf2syntax.vim
Ⅳ. 文档说明
tf2syntax.vim
Basic syntax for Team Fortress 2 .cfg files for Vim.
Notes
Update template.vim if you want to change any syntax; syntax/tf2.vim gets
rewritten by update_commands.rb.
Credits
Sumant Manne for the original tf2.vim syntax highlighting project.
Description
Trying to provide basic syntax highlighting for Team Fortress 2's .cfg files.
All commands are pulled from the TF2 Dev Wiki
by the ruby script update_commands.rb. Requires Nokogiri to run.
Installation
I'd recommend using Vundle.vim to install this,
if you don't have any sort of plugin manager:
In your vimrc, add:
Plugin 'BenDoan/tf2syntax.vim'
Then simply run :PluginInstall to install.