aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc.dot.link6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index ed7b829..4179a91 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -102,6 +102,12 @@ augroup markdown
autocmd BufRead *.md set autoindent smartindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab formatoptions=tcroqn2 comments=n:>
augroup END
+" Python
+augroup python
+ autocmd!
+ autocmd BufRead *.py set autoindent smartindent tabstop=4 softtabstop=4 shiftwidth=4 expandtab
+augroup END
+
" Drupal *.module and *.install files.
if has("autocmd")
augroup module