Ⅰ. 插件描述
A syntax / code completion plugin for Firestore Security Rules.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'delphinus/vim-firestore'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'delphinus/vim-firestore'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'delphinus/vim-firestore'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/delphinus/vim-firestore
Ⅳ. 文档说明
# vim-firestore
A plugin for [Firestore Security Rules][].
- [x] Syntax Highlighting
[x] Code completion
- (experimental)
Install
Clone this repository and set runtimepath for it in your vimrc.
set runtimepath+=/path/to/repoOr you can use any plugin manager.
Configuration
g:vim_firestore_warnings(default:1)
This syntax can highlight syntax errors with theErrorgroup. You can disable this to setlet g:vim_firestore_warnings = 0in vimrc.

Screenshots
Nord

Solarized Dark

Solarized Light
