view runtime/syntax/json.vim @ 6147:d4e0c197e979 v7.4.411

updated for version 7.4.411 Problem: "foo bar" sorts before "foo" with sort(). (John Little) Solution: Avoid putting quotes around strings before comparing them.
author Bram Moolenaar <bram@vim.org>
date Fri, 22 Aug 2014 13:13:27 +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'