comparison rc/vimrc @ 563:7cac401e5c78

Add configurable to always assume two spaces/no tab in vim.
author nanaya <me@myconan.net>
date Thu, 04 Jun 2015 18:31:10 +0900
parents 41e5f907aca3
children 85dca9054bac
comparison
equal deleted inserted replaced
562:6f57f959cc0b 563:7cac401e5c78
82 82
83 function In4() 83 function In4()
84 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab 84 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab
85 endfunction 85 endfunction
86 86
87 if $EC_VIM_SPACING == "2"
88 call In2()
89 endif
90
87 " required by syntax file 91 " required by syntax file
88 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim 92 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim
89 let g:vim_json_syntax_conceal = 1 93 let g:vim_json_syntax_conceal = 1
90 94
91 autocmd BufNewFile,BufRead *.json set filetype=json 95 autocmd BufNewFile,BufRead *.json set filetype=json