diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-07-19 14:04:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-07-19 14:04:47 +0200 |
commit | 07d87790f1e733d69bd7910bf049adeeb6d0f338 (patch) | |
tree | cfafa9324d4664657695a094a68107ad5e6279e4 /runtime/indent | |
parent | a04854932ec96ab48498fd4a5e8b5f4fd4df14cf (diff) |
Update runtime files. Make matchparen plugin backwards compatible.
Add json filetype.
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/json.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/indent/json.vim b/runtime/indent/json.vim new file mode 100644 index 0000000000..d50112b934 --- /dev/null +++ b/runtime/indent/json.vim @@ -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 |