comparison rc/vimrc @ 545:c9ea8dd9d382

Remove unnecessary json configs.
author edogawaconan <me@myconan.net>
date Tue, 24 Feb 2015 19:19:21 +0900
parents 75c30f2b4694
children 4afbb88c7579
comparison
equal deleted inserted replaced
544:75c30f2b4694 545:c9ea8dd9d382
78 78
79 function In4() 79 function In4()
80 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab 80 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab
81 endfunction 81 endfunction
82 82
83 augroup json_autocmd 83 " required by syntax file
84 autocmd! 84 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim
85 autocmd FileType json set autoindent 85 let g:vim_json_syntax_conceal = 1
86 autocmd FileType json set formatoptions=tcq2l
87 autocmd FileType json set textwidth=78 shiftwidth=2
88 autocmd FileType json set softtabstop=2 tabstop=8
89 autocmd FileType json set expandtab
90 autocmd FileType json set foldmethod=syntax
91
92 " required by syntax file
93 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim
94 let g:vim_json_syntax_conceal = 1
95 augroup END
96 86
97 autocmd BufNewFile,BufRead *.json set filetype=json 87 autocmd BufNewFile,BufRead *.json set filetype=json
98 autocmd BufNewFile,BufRead *.jsonp set filetype=json 88 autocmd BufNewFile,BufRead *.jsonp set filetype=json
99 autocmd BufRead,BufNewFile *.blade.php set filetype=blade 89 autocmd BufRead,BufNewFile *.blade.php set filetype=blade
100 autocmd BufRead,BufNewFile *.coffee set filetype=coffee 90 autocmd BufRead,BufNewFile *.coffee set filetype=coffee