Skip to content

winston0410/tree-sitter-hjson

Repository files navigation

tree-sitter-hjson

hjson grammar for tree-sitter

Heavily based on tree-sitter-json and tree-sitter-jsonc

Demo

Syntax highlight with neovim.

Demo

Features

[x] Handle trailing commas

[x] Handle omitting commas

[x] Handle multiline strings

[ ] Handle quoteless strings

[ ] Handle escape sequence in quoted strings