Update runtime files. Make matchparen plugin backwards compatible.

Add json filetype.
This commit is contained in:
Bram Moolenaar
2014-07-19 14:04:47 +02:00
parent a04854932e
commit 07d87790f1
12 changed files with 133 additions and 24 deletions

17
runtime/ftplugin/json.vim Normal file
View File

@ -0,0 +1,17 @@
" 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=