vim:ftplugin:python: Set foldmethod locally
This commit is contained in:
@@ -7,6 +7,6 @@ setlocal smarttab
|
|||||||
" PEP-8 wants 79 as maximum line length
|
" PEP-8 wants 79 as maximum line length
|
||||||
setlocal textwidth=79
|
setlocal textwidth=79
|
||||||
" Lines with equal indent form a fold
|
" Lines with equal indent form a fold
|
||||||
set foldmethod=indent
|
setlocal foldmethod=indent
|
||||||
" Open all folds after they were closed automatically by foldmethod=indent
|
" Open all folds after they were closed automatically by foldmethod=indent
|
||||||
normal zR
|
normal zR
|
||||||
|
|||||||
Reference in New Issue
Block a user