Ⅰ. 插件描述
QML syntax highlighting for VIMⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'peterhoeg/vim-qml'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'peterhoeg/vim-qml'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'peterhoeg/vim-qml'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/peterhoeg/vim-qml
Ⅳ. 文档说明
# QML syntax file for VIM
I take absolutely no credit for this - all I did was write the ftdetect line and package it.
The actual syntax highlight file was done by Warwick Allison and subsequent work by the contributors without whom this would not be possible.
How to use
I strongly suggest you use one of the excellent bundle managers or add it as a submodule under your bundle directory.
Enjoy,
Peter Hoeg