diff --git a/configs/vimrc b/configs/vimrc index 8a8a594..3c239b8 100644 --- a/configs/vimrc +++ b/configs/vimrc @@ -221,7 +221,7 @@ Bundle 'jiangmiao/auto-pairs' " python " Bundle 'nvie/vim-flake8' Bundle 'klen/python-mode' -" Bundle 'scrooloose/syntastic' +Bundle 'scrooloose/syntastic' " snippets Bundle 'msanders/snipmate.vim' @@ -258,6 +258,9 @@ Bundle 'Glench/Vim-Jinja2-Syntax' " Airline to prompt Bundle 'edkolev/promptline.vim' +" JSON +Bundle 'elzr/vim-json' + " auto-pair settings let g:AutoPairsMapCR = 1 @@ -301,3 +304,10 @@ nnoremap :CtrlPFunky " ---------------------------------------------------------------------- let g:indent_guides_start_level=2 let g:indent_guides_guide_size=1 + +" ---------------------------------------------------------------------- +" JSON syntax +" ---------------------------------------------------------------------- +let g:vim_json_syntax_conceal = 0 +autocmd BufNewFile,BufRead *.json set filetype=json +autocmd Filetype json set noet ts=4