context.vim
context.vim copied to clipboard
[Question] is there a way to show a "header" when the matched line is a single `{`
I am dealing with big json files looking like so:
[
{
"type": "a type",
"info": "additionnal info",
"big array with values": [
{},
{},
...
]
},
{
"type": "another type",
"info": "additionnal info",
"big array with values": [
{},
{},
...
]
},
...
]
when I am editing this json file (editing the "big array with values") I would like to know what is the "type" where I am, but the context window only shows a single {
, is there a way to add context/join at least the line after this {
? and get something like { "type": "another type",