" JSON - Syntax highlighting for JSON

" Fancy tricks with hiding quotes around attributes, includes ftdetect
Plug 'elzr/vim-json'

let g:vim_json_syntax_conceal = 0

" Requires 'jq' (brew install jq)
function! s:PrettyJSON()
  %!jq .
  set filetype=json
endfunction
command! PrettyJSON :call <sid>PrettyJSON()

" vim:ft=vim