Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc64c71f

Browse files
committed
changed folding default from on to off
1 parent7611a8c commitc64c71f

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
callpymode#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-
callpymode#default("g:pymode_folding",1)
40+
callpymode#default("g:pymode_folding",0)
3941
" Maximum file length to check for nested class/def statements
4042
callpymode#default("g:pymode_folding_nest_limit",1000)
4143
" Change for folding customization (by example enable fold for 'if', 'for')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp