Ⅰ. 插件描述
Vim syntax highlight and other support files for qmakeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'suy/vim-qmake'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'suy/vim-qmake'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'suy/vim-qmake'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/suy/vim-qmake
Ⅳ. 文档说明
== Vim syntax highlight and support files for qmake.
It just provides the usual syntax highlight for qmake files (.pro and .pri,
but possibly I'll add other file terminations), plus the usual settings like
http://vimhelp.appspot.com/options.txt.html#%27commentstring%27['commentstring'].
I have other plans, like a :QMake command that could help in setting things
like paths and other configuration variables for syntax cheking, configuring
https://github.com/thinca/vim-quickrun[QuickRun] or
https://github.com/tpope/vim-dispatch[Dispatch], but this is a lot of work, and
zero has been done so far, so it's unlikely to happen at this point.