Skip to content

Commit 043617d

Browse files
committed
Version 0.6.1
1 parent 65fc8d7 commit 043617d

6 files changed

Lines changed: 19 additions & 6 deletions

File tree

Changelog.rst

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

4-
## 2012-03-?? 0.6.1
4+
## 2012-04-10 0.6.1
55
-------------------
66
* Fix pymode_run for "unnamed" clipboard
7+
* Add 'pymode_lint_mccabe_complexity' option
8+
* Update Pep8 to version 1.0.1
9+
* Warning! Change 'pymode_rope_goto_def_newwin' option
10+
for open "goto definition" in new window, set it to 'new' or 'vnew'
11+
for horizontally or vertically split
12+
If you use default behaviour (in the same buffer), not changes needed.
713

814
## 2012-03-13 0.6.0
915
-------------------

README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Default values: ::
222222

223223
let g:pymode_rope_guess_project = 1
224224

225-
let g:pymode_rope_goto_def_newwin = 0
225+
let g:pymode_rope_goto_def_newwin = ""
226226

227227
let g:pymode_rope_always_show_complete_menu = 0
228228

@@ -445,6 +445,10 @@ Copyright (C) 2012 Kirill Klenov (klen_)
445445
Copyright (c) 2005 Divmod, Inc.
446446
http://www.divmod.com/
447447

448+
**PEP8**
449+
Copyright (C) 2006 Johann C. Rocholl <johann@rocholl.net>
450+
http://github.com/jcrocholl/pep8
451+
448452
**Python syntax for vim**
449453
Copyright (c) 2010 Dmitry Vasiliev
450454
http://www.hlabs.spb.ru/vim/python.vim

doc/ropevim.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ restructuring can be: >
252252
for "go to definition" result if the definition
253253
found is located in another file. By default the
254254
file is open in the same buffer.
255+
Values: '' -- same buffer, 'new' --
256+
horizontally split, 'vnew' --
257+
vertically split
255258

256259
*'pymode_rope_always_show_complete_menu'* If set, rope autocompletion menu
257260
always show.

ftplugin/python/pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if !pymode#Default('g:pymode_options_other', 1) || g:pymode_options_other
3030
setlocal formatoptions-=t
3131
setlocal number
3232
setlocal nowrap
33-
setlocal textwidth=80
33+
setlocal textwidth=79
3434
endif
3535

3636
" }}}

plugin/pymode.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
209209
" OPTION: g:pymode_rope_guess_project -- bool.
210210
call pymode#Default("g:pymode_rope_guess_project", 1)
211211

212-
" OPTION: g:pymode_rope_goto_def_newwin -- bool.
213-
call pymode#Default("g:pymode_rope_goto_def_newwin", 0)
212+
" OPTION: g:pymode_rope_goto_def_newwin -- str ('new', 'vnew', '').
213+
call pymode#Default("g:pymode_rope_goto_def_newwin", "")
214214

215215
" OPTION: g:pymode_rope_always_show_complete_menu -- bool.
216216
call pymode#Default("g:pymode_rope_always_show_complete_menu", 0)

pylibs/ropevim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def reload_files(self, filenames, moves=None):
210210
def find_file(self, filename, readonly=False, other=False, force=False):
211211
if filename != self.filename() or force:
212212
if other:
213-
vim.command('new')
213+
vim.command(other)
214214
filename = '\\ '.join(s.rstrip() for s in filename.split())
215215
vim.command('e %s' % filename)
216216
if readonly:

0 commit comments

Comments
 (0)