Mercurial > ec-dotfiles
changeset 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 | 6f57f959cc0b |
children | e80a3ce5d72f |
files | rc/vimrc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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