From: Silvio Rhatto Date: Sun, 28 Jul 2024 01:36:53 +0000 (-0300) Subject: Feat: config for python X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bec1a732f9db269f93419ecb4e9ca247b1a188a9;p=rhatto%2Fdotfiles%2Fvim.git Feat: config for python --- 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