Skip to content

Commit c64c71f

Browse files
committed
changed folding default from on to off
1 parent 7611a8c commit c64c71f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

doc/pymode.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,12 @@ Enable pymode indentation *'g:pymode_indent'
161161
2.3 Python folding ~
162162
*pymode-folding*
163163

164-
Fast and usual python folding in Vim.
165164
Enable pymode folding *'g:pymode_folding'*
166165
>
167-
let g:pymode_folding = 1
166+
let g:pymode_folding = 0
167+
168+
Currently folding is considered experimental. There are several issues with
169+
its implementation.
168170

169171
-------------------------------------------------------------------------------
170172
2.4 Vim motion ~

plugin/pymode.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ call pymode#default('g:pymode_doc_bind', 'K')
3434
" Enable/Disable pymode PEP8 indentation
3535
call pymode#default("g:pymode_indent", 1)
3636

37+
" TODO: currently folding suffers from a bad performance and incorrect
38+
" implementation. This feature should be considered experimental.
3739
" Enable/disable pymode folding for pyfiles.
38-
call pymode#default("g:pymode_folding", 1)
40+
call pymode#default("g:pymode_folding", 0)
3941
" Maximum file length to check for nested class/def statements
4042
call pymode#default("g:pymode_folding_nest_limit", 1000)
4143
" Change for folding customization (by example enable fold for 'if', 'for')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy