# HG changeset patch # User nanaya # Date 1433410270 -32400 # Node ID 7cac401e5c785a7ac0ce0f604f08eaf7e0ecb1f4 # Parent 6f57f959cc0bbfdbaec99b00e80da7e30fc7a6bc Add configurable to always assume two spaces/no tab in vim. diff -r 6f57f959cc0b -r 7cac401e5c78 rc/vimrc --- a/rc/vimrc Thu Jun 04 18:25:29 2015 +0900 +++ b/rc/vimrc Thu Jun 04 18:31:10 2015 +0900 @@ -84,6 +84,10 @@ set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab endfunction + if $EC_VIM_SPACING == "2" + call In2() + endif + " required by syntax file " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim let g:vim_json_syntax_conceal = 1