From 2135c9f131657642e506006bcc5e4d1e8582233a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 28 Mar 2022 15:25:19 +0300 Subject: [PATCH] .vim: Feat(ftplugin/python): Avoid double indent --- .vim/ftplugin/python.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vim/ftplugin/python.vim b/.vim/ftplugin/python.vim index 95333e6..dcbdfb2 100644 --- a/.vim/ftplugin/python.vim +++ b/.vim/ftplugin/python.vim @@ -44,3 +44,6 @@ function! SavePython() endif endif endfunction + +" Avoid double indent. See https://stackoverflow.com/a/62348570/7976758 +let g:pyindent_open_paren=shiftwidth() -- 2.39.5