Ⅰ. 插件描述
Syntax files (indentation & highlighting) for Surface Template LanguageⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'cowboy-coder/vim-surf'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'cowboy-coder/vim-surf'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'cowboy-coder/vim-surf'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/cowboy-coder/vim-surf
Ⅳ. 文档说明
Vim for Suface Template Language
surf-vim is a plugin for working with .surf templates used by http://www.planetframework.com. It has both syntax highlighting and auto indentation.
The indentation depends on the IndentAnything plugin https://github.com/vim-scripts/IndentAnything
Install using pathogen
cd ~/.vim/
git clone https://github.com/vim-scripts/IndentAnything bundle/IndentAnything
git clone https://github.com/Cowboy-coder/vim-surf.git bundle/vim-surf