]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Feat: config for python
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2024 01:36:53 +0000 (22:36 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2024 01:36:53 +0000 (22:36 -0300)
vimrc.dot.link

index ed7b829360b11bbcefaf9afd6db9c3edbab31826..4179a91062682ac42aa565ab79cf1fc3b848e033 100644 (file)
@@ -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