From ed8c533c6207f3a70e1b95b1bc2a2d039a813bc4 Mon Sep 17 00:00:00 2001 From: Mel Boyce Date: Thu, 5 Dec 2013 11:54:52 +1100 Subject: [PATCH 1/2] Added default value for err variable. --- pymode/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymode/run.py b/pymode/run.py index 3ad61117..4a39f530 100644 --- a/pymode/run.py +++ b/pymode/run.py @@ -13,7 +13,7 @@ def run_code(): """ Run python code in current buffer. """ - errors = [] + errors, err = [], '' line1, line2 = env.var('a:line1'), env.var('a:line2') lines = __prepare_lines(line1, line2) From e2599865200bca23593828c6687f45fbeda19773 Mon Sep 17 00:00:00 2001 From: Mel Boyce Date: Thu, 5 Dec 2013 12:18:50 +1100 Subject: [PATCH 2/2] Cleaned up some grammar. --- doc/pymode.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/pymode.txt b/doc/pymode.txt index c232ddb6..e1c75036 100644 --- a/doc/pymode.txt +++ b/doc/pymode.txt @@ -312,7 +312,7 @@ after them 'C' and ... > let g:pymode_lint_sort = [] -Auto open cwindow (quickfix) if any errors has been finded +Auto open cwindow (quickfix) if any errors have been found *'g:pymode_lint_cwindow'* > let g:pymode_lint_cwindow = 1 @@ -335,7 +335,7 @@ Definitions for |signs| 3. Rope support ~ *pymode-rope* -Pymode support Rope refactoring operations, code completion and code assists. +Pymode supports Rope refactoring operations, code completion and code assists. Commands: |:PymodeRopeAutoImport| -- Resolve import for element under cursor @@ -397,8 +397,8 @@ Regenerate project cache on every save (if file has been modified) 4.1 Completion ~ *pymode-completion* -By default you can use for autocompletion. Will be -automatically selected first entry and you can press to insert in +By default you can use for autocompletion. The first entry will +be automatically selected and you can press to insert the entry in your code. and / works too. Autocompletion is also called by typing a period in |Insert| mode by default. @@ -552,8 +552,9 @@ Turn on pymode syntax *'g:pymode_syntax'* > let g:pymode_syntax = 1 -More slow synchronizing. Disable on the slow machine, but code in docstrings -could be broken. *'g:pymode_syntax_slow_sync'* +Slower syntax synchronization that is better at handling code blocks in +docstrings. Consider disabling this on slower hardware. + *'g:pymode_syntax_slow_sync'* > let g:pymode_syntax_slow_sync = 1 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