summaryrefslogtreecommitdiff
path: root/runtime/syntax/json.vim
blob: f2d880b1d02dbf2a8682d0bbbe8e6634ef1938b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" Vim syntax file
" Language:		JSON
" Maintainer:		David Barnett <daviebdawg+vim@gmail.com>
" 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'