# HG changeset patch # User edogawaconan # Date 1424773161 -32400 # Node ID c9ea8dd9d3823374af8c9dc04ec0914451b748e2 # Parent 75c30f2b4694978cfe32b4d90317d2f3d6e5c075 Remove unnecessary json configs. diff -r 75c30f2b4694 -r c9ea8dd9d382 rc/vimrc --- a/rc/vimrc Tue Feb 24 19:17:26 2015 +0900 +++ b/rc/vimrc Tue Feb 24 19:19:21 2015 +0900 @@ -80,19 +80,9 @@ set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab endfunction - augroup json_autocmd - autocmd! - autocmd FileType json set autoindent - autocmd FileType json set formatoptions=tcq2l - autocmd FileType json set textwidth=78 shiftwidth=2 - autocmd FileType json set softtabstop=2 tabstop=8 - autocmd FileType json set expandtab - autocmd FileType json set foldmethod=syntax - - " required by syntax file - " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim - let g:vim_json_syntax_conceal = 1 - augroup END + " required by syntax file + " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim + let g:vim_json_syntax_conceal = 1 autocmd BufNewFile,BufRead *.json set filetype=json autocmd BufNewFile,BufRead *.jsonp set filetype=json