When using json some statements nest with ( ) as follows
db.inspections.insert(
{
"business_name" : "GROCERY INC.",
"date" : "Feb 20 2015",
"address" : {
"street": "MAIN",
"city": "COLUMBUS"
}
}).pretty()
It would be cool if the ( ) lit up the way the curly brackets do, but with another color.
can you send a larger piece of code that has all the possible uses of the curly brackets?
(b.t.w. I suppose you are referring to the javascript syntax highlighting?)
Related
Tickets:
#40thanks. After looking at the syntax definition file, I think it is not possible to separate json from other square brackets. However, in the attached syntax definition file I made it possible to give each bracket (round, square and curly) a different color (the all default to the same style "brackets" but you can change that). Does that help you?
Related
Tickets:
#40Issue resolved. Closing.