Mercurial > ec-dotfiles
changeset 545:c9ea8dd9d382
Remove unnecessary json configs.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 24 Feb 2015 19:19:21 +0900 |
parents | 75c30f2b4694 |
children | daed3e2c9651 44e0d733088c |
files | rc/vimrc |
diffstat | 1 files changed, 3 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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