Update runtime files. Make matchparen plugin backwards compatible.
Add json filetype.
This commit is contained in:
13
runtime/indent/json.vim
Normal file
13
runtime/indent/json.vim
Normal file
@ -0,0 +1,13 @@
|
||||
" Vim indent file
|
||||
" Language: JSON
|
||||
" Maintainer: David Barnett <daviebdawg+vim@gmail.com>
|
||||
" Last Change: 2014 Jul 16
|
||||
|
||||
if exists('b:did_indent')
|
||||
finish
|
||||
endif
|
||||
|
||||
" JSON is a subset of JavaScript. JavaScript indenting should work fine.
|
||||
runtime! indent/javascript.vim
|
||||
|
||||
let b:did_indent = 1
|
||||
Reference in New Issue
Block a user