diff 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
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