qmake-syntax-vim


Ⅰ. 插件描述

qmake project highlighting support for the Vim editor

Ⅱ. 基本信息

创建日期:  2011-02-03
使用用户:  23
Github星:  12
插件作者:  Arto Jonsson

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'artoj/qmake-syntax-vim-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'artoj/qmake-syntax-vim-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'artoj/qmake-syntax-vim-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/artoj/qmake-syntax-vim

Ⅳ. 文档说明

qmake project syntax file for Vim
Copyright (C) 2011-2012 Arto Jonsson <artoj@iki.fi>

ABOUT

qmake is a Makefile generator used by the Qt toolkit.

The 'qmake.vim' file provides syntax coloring for qmake project files.

INSTALLATION

Put the 'syntax/qmake.vim' file to your $VIMRUNTIME/syntax/ directory.
Then you can use:

    :set syntax=qmake

To use the syntax in the current buffer.

To set the syntax automatically for certain file types, such as '.pro' in
this case, put the 'ftdetect/pro.vim' in $VIMRUNTIME/ftdetect/ directory.

See ':help ftdetect' for more information.

Alternatively you can use bundle manager such as Vundle or Pathogen.

添加新评论