Skip to content

Commit 7ab4073

Browse files
committed
1 parent 3d16ed6 commit 7ab4073

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

autoload/pymode/lint.vim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ fun! pymode#lint#check() "{{{
6565

6666
call g:PymodeSigns.refresh(loclist)
6767

68-
if g:pymode_lint_cwindow
69-
call loclist.show()
70-
endif
68+
call loclist.show()
7169

7270
call pymode#lint#show_errormessage()
7371
call pymode#wide_message('Found errors and warnings: ' . len(loclist._loclist))

autoload/pymode/tools/loclist.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fun! g:PymodeLocList.show() "{{{
6868
call setloclist(0, self._loclist)
6969
if self.is_empty()
7070
lclose
71-
else
71+
elseif g:pymode_lint_cwindow
7272
let num = winnr()
7373
lopen
7474
setl nowrap

0 commit comments

Comments
 (0)