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: 9 days 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-10-11T08:37:01.000Z (9 months ago)
- Last Synced: 2026-06-12T12:41:54.972Z (12 days ago)
- Topics: m3, metrics, syntax-highlighting, vim, vimrc
- Language: Vim Script
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-m3ql
[](https://drone.albertyw.com/albertyw/vim-m3ql)
Vim syntax highlighting for [M3](https://m3db.io/)'s query language (M3QL).

## 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 git@github.com: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.