From a98a6996c291b3e300d27b791eded9eed333d677 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 11 Jul 2014 04:05:51 +0000 Subject: re-integrate runtime/ vim-patch:0 #938 Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham Helped-by: John Helped-by: Yann Helped-by: Christophe Badoit Helped-by: drasill Helped-by: Tae Sandoval Murgan Helped-by: Lowe Thiderman --- runtime/syntax/json.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 runtime/syntax/json.vim (limited to 'runtime/syntax/json.vim') diff --git a/runtime/syntax/json.vim b/runtime/syntax/json.vim new file mode 100644 index 0000000000..f2d880b1d0 --- /dev/null +++ b/runtime/syntax/json.vim @@ -0,0 +1,16 @@ +" Vim syntax file +" Language: JSON +" Maintainer: David Barnett +" Last Change: 2014 Jul 16 + +" For version 5.x: Clear all syntax items. +" For version 6.x and later: Quit when a syntax file was already loaded. +if exists('b:current_syntax') + finish +endif + +" Use JavaScript syntax. JSON is a subset of JavaScript. +runtime! syntax/javascript.vim +unlet b:current_syntax + +let b:current_syntax = 'json' -- cgit