summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2015-04-28 15:03:26 +0200
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2015-04-28 15:03:26 +0200
commitd552f9fce98915923321eb74c00563011cbaaffd (patch)
tree3b33e596fafe2b0b8100c4c5aaac580fab5eba83 /.vimrc
parentEnable spelling in .txt files too (diff)
downloadvim_sync-d552f9fce98915923321eb74c00563011cbaaffd.tar.xz
Add reasonable definitions for Python
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index d07f909..e98a980 100644
--- a/.vimrc
+++ b/.vimrc
@@ -121,6 +121,7 @@ au BufRead *.c set spell spelllang=en
au BufRead *.cpp set spell spelllang=en
au BufRead *.h set spell spelllang=en
au BufRead *.txt set spell spelllang=cs
+au Filetype python setlocal expandtab tabstop=4 shiftwidth=4
" ===========
" key hacking