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

Commit7ec01b9

Browse files
committed
Merge branch 'develop' of github.com:python-mode/python-mode into develop
2 parents17b097d +89888dd commit7ec01b9

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

‎README.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,22 @@ You can override the default key bindings by redefining them in your `.vimrc`, f
163163
let g:pymode_doc_bind = "<C-S-d>"
164164

165165

166+
Frequent Problems
167+
=================
168+
169+
Read this section before opening an issue on the tracker.
170+
171+
Python 3 Syntax
172+
---------------
173+
174+
By default python-mode uses python 2 syntax checking. To enable python 3
175+
syntax checking (e.g. for async) add::
176+
177+
let g:pymode_python = 'python3'
178+
179+
To your vimrc or exrc file
180+
181+
166182
Documentation
167183
=============
168184

‎plugin/pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ call pymode#default("g:pymode_folding", 1)
3939
" Maximum file length to check for nested class/def statements
4040
callpymode#default("g:pymode_folding_nest_limit",1000)
4141
" Change for folding customization (by example enable fold for 'if', 'for')
42-
callpymode#default("g:pymode_folding_regex",'^\s*\%(class\|def\) \w\+')
42+
callpymode#default("g:pymode_folding_regex",'^\s*\%(class\|def\|async\s\+def\) \w\+')
4343

4444
" Enable/disable python motion operators
4545
callpymode#default("g:pymode_motion",1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp