summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/json.vim
blob: c79b13fc65a885cc3b7ff042e7b0f0f8b6bfc361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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=