From 67ea84a3c83969c0f1a37a843659fcf2cadf3f0d Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Fri, 20 Apr 2018 10:02:18 +0100 Subject: [PATCH] foldmethod indent --- vim/ftplugin/python.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index cab3750..3721f42 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -7,3 +7,7 @@ set autoindent nnoremap :call SaveAndExecute('python') " vnoremap :call SaveAndExecutePython() + +set foldmethod=indent +set foldnestmax=2 +