From: Maximilian Friedersdorff Date: Thu, 21 Jul 2022 08:20:30 +0000 (+0100) Subject: Fix foldmethod X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=6403f092c29888073fe347e4a1a6cf1ad765d9a9;p=max%2Fsaltfiles.git Fix foldmethod --- diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index c39436f..be2b5d2 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -176,6 +176,6 @@ let g:pymode_rope_completion = 1 augroup unset_folding_in_insert_mode autocmd! - autocmd InsertEnter *.py setlocal foldmethod=marker + autocmd InsertEnter *.py setlocal foldmethod=manual autocmd InsertLeave *.py setlocal foldmethod=expr augroup END