8000 Remove loclist from run code · python-mode/python-mode@3d16ed6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d16ed6

Browse files
committed
Remove loclist from run code
1 parent 6cd05bd commit 3d16ed6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

autoload/pymode/run.vim

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ let s:efm .= '%-G%.%#'
4343

4444
PymodePython from pymode.run import run_code
4545

46-
call pymode#tools#loclist#init()
47-
4846

4947
" DESC: Run python code
5048
fun! pymode#run#code_run(line1, line2) "{{{
@@ -88,10 +86,7 @@ fun! pymode#run#code_run(line1, line2) "{{{
8886
call setqflist(qflist)
8987
endif
9088

91-
let loclist = g:PymodeLocList.current()
92-
let loclist._loclist = getqflist()
93-
let loclist._title = "Run errors"
94-
call loclist.show()
89+
call pymode#quickfix_open(0, g:pymode_quickfix_maxheight, g:pymode_quickfix_maxheight, 0)
9590

9691
let &efm = l:_efm
9792

0 commit comments

Comments
 (0)
0