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

Commit32d586b

Browse files
committed
Merge branch 'release/0.6.14'
2 parentsb717c63 +36dc194 commit32d586b

File tree

6 files changed

+11
-15
lines changed

6 files changed

+11
-15
lines changed

‎Changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
=========
33

4-
## 2013-03-16 0.6.13
4+
## 2013-03-16 0.6.14
55
--------------------
66
* Update `PEP8` to version 1.4.5;
77
* Update `Pylint` to version 0.27.0;

‎autoload/pymode/breakpoint.vim

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ fun! pymode#breakpoint#Set(lnum) "{{{
88
normalk
99
endif
1010

11-
" Disable lint
12-
let pymode_lint=g:pymode_lint
13-
letg:pymode_lint=0
14-
1511
" Save file
16-
if &modifiable&& &modified |write |endif
17-
18-
letg:pymode_lint= pymode_lint
12+
if &modifiable&& &modified |noautocmdwrite |endif
1913

2014
endfunction"}}}

‎autoload/pymode/lint.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fun! pymode#lint#Check() "{{{
55

66
if &modifiable&& &modified
77
try
8-
write
8+
noautocmdwrite
99
catch/E212/
1010
echohlError |echo"File modified and I can't save it. Cancel code checking." |echohl None
1111
return0
@@ -94,7 +94,7 @@ endfunction " }}}
9494
fun!pymode#lint#Auto()"{{{
9595
if &modifiable&& &modified
9696
try
97-
write
97+
noautocmdwrite
9898
catch/E212/
9999
echohlError |echo"File modified and I can't save it. Cancel operation." |echohl None
100100
return0

‎autoload/pymode/run.vim

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
fun!pymode#run#Run(line1, line2)"{{{
33
if &modifiable&& &modified
44
try
5-
write
5+
noautocmdwrite
66
catch/E212/
77
echohlError |echo"File modified and I can't save it. Cancel code checking." |echohl None
88
return0
@@ -12,10 +12,12 @@ fun! pymode#run#Run(line1, line2) "{{{
1212
py sys.stdout, stdout_= StringIO.StringIO(), sys.stdout
1313
py sys.stderr, stderr_= StringIO.StringIO(), sys.stderr
1414
pyenc=vim.eval('&enc')
15+
callsetqflist([])
1516
callpymode#WideMessage("Code running.")
1617
try
17-
callsetqflist([])
18-
pyexecfile(vim.eval('expand("%s:p")'), {'raw_input': lambdas:vim.eval('input("{0}")'.format(s)),'input': lambdas:vim.eval('input("{0}")'.format(s))})
18+
py context=globals()
19+
py context['raw_input']= context['input']= lambdas:vim.eval('input("{0}")'.format(s))
20+
pyexecfile(vim.eval('expand("%:p")'), context)
1921
py out, err= sys.stdout.getvalue().strip(), sys.stderr.getvalue()
2022
py sys.stdout, sys.stderr= stdout_, stderr_
2123

‎doc/pymode.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(__) (__) (__) (_) (_)(_____)(_)\_) (_/\/\_)(_____)(____/(____)~
77

88

9-
Version: 0.6.13
9+
Version: 0.6.14
1010

1111
==============================================================================
1212
CONTENTS*Python-mode-contents*

‎ftplugin/python/init-pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if exists('did_init_pymode_vim')
33
endif
44
let did_init_pymode_vim=1
55

6-
letg:pymode_version="0.6.13"
6+
letg:pymode_version="0.6.14"
77

88
com! PymodeVersionechomsg"Current python-mode version:" .g:pymode_version
99

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp