aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-27 22:36:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-27 22:36:53 -0300
commitbec1a732f9db269f93419ecb4e9ca247b1a188a9 (patch)
tree9c73ea37fdb18d33974468d7779a4ef10328f6f9
parent163c5c9f5cf2c168f7d4feece55d06895f431411 (diff)
downloadvim-bec1a732f9db269f93419ecb4e9ca247b1a188a9.tar.gz
vim-bec1a732f9db269f93419ecb4e9ca247b1a188a9.tar.bz2
Feat: config for python
-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