From: Ben Beltran Date: Fri, 3 Jul 2015 17:39:33 +0000 (-0500) Subject: Embeds JSON using ``` blocks X-Git-Url: https://git.r.bdr.sh/rbdr/api-notation.vim/commitdiff_plain/c810701f96d3832a1d752576ad7fb05ce93f00ea?hp=d5fd8b334b301c65b0099b34f500cde7b0e086c9 Embeds JSON using ``` blocks --- diff --git a/syntax/api-notation.vim b/syntax/api-notation.vim index 39a1437..8965c44 100644 --- a/syntax/api-notation.vim +++ b/syntax/api-notation.vim @@ -30,6 +30,9 @@ syn match separators '|\|,' contained syn match returnValue '.*' contained contains=dataType,parameters +" Nest JSON +syn include @JSON syntax/json.vim +syn region jsonBlock start='```' end='```' contains=@JSON hi def link moduleName Identifier @@ -45,3 +48,4 @@ hi def link dataTypes Constant hi def link separators Comment hi def link comment Comment +hi def link jsonBlock Comment