Ⅰ. 插件描述
Vim syntax highlighting for Bazel BUILD files.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'davidzchen/vim-bazel'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'davidzchen/vim-bazel'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'davidzchen/vim-bazel'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/davidzchen/vim-bazel
Ⅳ. 文档说明
vim-bazel (Deprecated. Please use google/vim-ft-bzl instead)
**Deprecation notice: Please use the official Bazel Vim plugin instead:
google/vim-ft-bzl.**
Vim syntax highlighting for Bazel BUILD files.
Install
For Pathogen users:
cd .vim/bundle
git clone https://github.com/davidzchen/vim-bazel.gitFor Vundle users:
Plugin 'davidzchen/vim-bazel'License
Copyright 2015 Google, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.