Language support for MAML (Minimal Abstract Markup Language).
- Syntax highlighting — comments, strings, raw strings, escape sequences, numbers, booleans, null, keys
- Indentation — auto-indent/dedent on
{,[,},] - Folding — syntax-based folding for objects and arrays
- Comment toggling — works with vim-commentary, Comment.nvim, etc. (
gc) - Bracket matching — matchit support for
{}and[]
{ "maml-dev/vim-maml" }Plug 'maml-dev/vim-maml'use 'maml-dev/vim-maml'Clone into your Vim/Neovim pack directory:
# Neovim
git clone https://github.com/maml-dev/vim-maml \
~/.local/share/nvim/site/pack/maml/start/vim-maml
# Vim
git clone https://github.com/maml-dev/vim-maml \
~/.vim/pack/maml/start/vim-mamlMAML is a minimal, human-readable data format. Think JSON, but cleaner:
{
project: "MAML"
tags: [
"minimal"
"readable"
]
# Comments are supported
spec: {
version: 1
author: "Anton Medvedev"
}
notes: """
Raw multiline strings.
No escaping needed.
"""
}
Key differences from JSON:
#comments- Unquoted keys
- Optional commas (newlines work as separators)
- Raw multiline strings with
""" - No trailing comma errors
Learn more at maml.dev.
MIT