From bec1a732f9db269f93419ecb4e9ca247b1a188a9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 27 Jul 2024 22:36:53 -0300 Subject: Feat: config for python --- vimrc.dot.link | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3