Set javascript vim settings to two spaces instead of tabs
parent
50be14282f
commit
c96dc61112
@ -1,13 +1,6 @@
|
|||||||
|
|
||||||
set noexpandtab " expandtab converts tabs to spaces
|
set expandtab " expandtab converts tabs to spaces
|
||||||
set shiftwidth=4 " unify
|
set shiftwidth=2 " unify
|
||||||
set softtabstop=4 " Pressing backspace works like tabs
|
set softtabstop=2 " Pressing backspace works like tabs
|
||||||
set tabstop=4 " real tabs should be 4, but they will show with set list on
|
set tabstop=2
|
||||||
|
|
||||||
if $BS_ENV == 'work'
|
|
||||||
set expandtab " expandtab converts tabs to spaces
|
|
||||||
set shiftwidth=2 " unify
|
|
||||||
set softtabstop=2 " Pressing backspace works like tabs
|
|
||||||
set tabstop=2
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue