Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albertyw/vim-m3ql
Vim syntax highlighting for M3QL
https://github.com/albertyw/vim-m3ql
m3 metrics syntax-highlighting vim vimrc
Last synced: about 2 months ago
JSON representation
Vim syntax highlighting for M3QL
- Host: GitHub
- URL: https://github.com/albertyw/vim-m3ql
- Owner: albertyw
- License: mit
- Created: 2021-08-31T06:44:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T04:54:18.000Z (about 2 months ago)
- Last Synced: 2024-11-09T05:26:49.439Z (about 2 months ago)
- Topics: m3, metrics, syntax-highlighting, vim, vimrc
- Language: Vim Script
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-m3ql
[![Build Status](https://drone.albertyw.com/api/badges/albertyw/vim-m3ql/status.svg)](https://drone.albertyw.com/albertyw/vim-m3ql)
Vim syntax highlighting for [M3](https://m3db.io/)'s query language (M3QL).
![Vim-M3QL Example](/screenshot.png)
## Installation
I recommend using Vim 8 or later, which includes a native third-party package handler. If you're using Vim >8, install this package with:```bash
cd ~/.vim/pack/$YOUR_DIRECTORY/start/
git clone [email protected]:albertyw/vim-m3ql
```## M3QL References
- M3 is from https://github.com/m3db/m3
- The M3QL parsing expression grammar (PEG) is [defined by M3](https://github.com/m3db/m3/blob/master/src/query/parser/m3ql/grammar.peg)
- M3QL defines [a list of supported functions](https://github.com/m3db/m3/blob/master/site/content/architecture/m3query/functions.md)Testing done by the [vint](https://github.com/Vimjas/vint) vimscript linter.