commit 42e7004bd02183b3ccde2af5100900e448c44edb
parent 80b23d6186fe7faf9bbe0b2f093e0b78054cd127
Author: Chris Bracken <chris@bracken.jp>
Date: Mon, 7 Dec 2015 10:14:13 -0800
Set python indent to 2
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/vimrc b/vimrc
@@ -84,6 +84,9 @@ set sw=2
set softtabstop=2
set expandtab
+" Fix python's indent overrides
+au FileType python setl ts=2 sw=2 sts=2 et
+
" Whitespace highlighting
let g:spacehi_spacecolor="ctermbg=red guibg=red"
let g:spacehi_tabcolor="ctermbg=red guibg=red"