From 03f6e00ebe5d9da77e37597dec92b0e206d1c8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miros=C5=82aw=20Prag=C5=82owski?= Date: Wed, 30 Jul 2014 11:43:27 +0200 Subject: [PATCH] JSON file formating - not enabled yet --- vimrcs/filetypes.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimrcs/filetypes.vim b/vimrcs/filetypes.vim index d713ab09..999e7917 100644 --- a/vimrcs/filetypes.vim +++ b/vimrcs/filetypes.vim @@ -57,3 +57,6 @@ au FileType coffee call CoffeeScriptFold() " => JSON section """"""""""""""""""""""""""""""" au BufRead,BufNewFile *.json set filetype=json +" sth not working here http://visibletrap.blogspot.com/2010/05/vim-how-to-format-and-syntax-highlight.html +" sudo cpan JSON::XS +" au Filetype.json map jt :%!json_xs -f json -t json-pretty