view runtime/ftplugin/json.vim @ 6070:32a77cc160d9

Update runtime files. Make matchparen plugin backwards compatible. Add json filetype.
author Bram Moolenaar <bram@vim.org>
date Sat, 19 Jul 2014 14:04:47 +0200
parents
children
line wrap: on
line source

" Vim filetype plugin
" Language:		JSON
" Maintainer:		David Barnett <daviebdawg+vim@gmail.com>
" Last Change:		2014 Jul 16

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

let b:undo_ftplugin = 'setlocal formatoptions< comments< commentstring<'

setlocal formatoptions-=t

" JSON has no comments.
setlocal comments=
setlocal commentstring=