view runtime/syntax/json.vim @ 6154:67edf731a240 v7.4.414

updated for version 7.4.414 Problem: Cannot define a command only when it's used. Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Fri, 22 Aug 2014 23:05:54 +0200
parents 32a77cc160d9
children babc6a1d4c27
line wrap: on
line source

" 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'