vim:ftplugin:python: Use indent as foldmethod

This commit is contained in:
2022-01-03 01:23:56 +01:00
parent 3c40002a4a
commit cdd727382c

View File

@@ -6,3 +6,7 @@ setlocal expandtab
setlocal smarttab
" PEP-8 wants 79 as maximum line length
setlocal textwidth=79
" Lines with equal indent form a fold
set foldmethod=indent
" Open all folds after they were closed automatically by foldmethod=indent
normal zR