Ⅰ. 插件描述
SourcePawn support filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'withgod/vim-sourcepawn'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'withgod/vim-sourcepawn'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'withgod/vim-sourcepawn'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/withgod/vim-sourcepawn
Ⅳ. 文档说明
# README
About
SourcePawn support files.
- filetype detect
- syntax highlight
- errorformat (makeprg set your self)
Install
manual install
download zip and extract your $HOME/.vim directory
Vundle
Bundle 'withgod/vim-sourcepawn.git'
Option
put your .vimrc
" for sourcepawn quickfix
au FileType sourcepawn setlocal makeprg=/path/to/spcomp\ %
Changelog
2013-09-30 pmrowla
- Sourcemod 1.5 API support
- C-style syntax to use whats in c.vim from vim 7.3.
- https://github.com/withgod/vim-sourcepawn/pull/1
2012-02-29 withgod
- few fix, make package and hosting github.
2009-01-05 Fyren
- function generator perl script by Fyren
- http://forums.alliedmods.net/showpost.php?p=738511&postcount=3
- http://forums.alliedmods.net/showpost.php?p=745042&postcount=6
- http://forums.alliedmods.net/showpost.php?p=745042&postcount=7
2007-12-31 naris
- vim plugin created by naris
- http://forums.alliedmods.net/showthread.php?t=65085