Skip to content

Commit d704c98

Browse files
committed
Show loclist only if there are errors or warnings
Closes python-mode#798
1 parent 7c2201f commit d704c98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

autoload/pymode/tools/loclist.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ endfunction "}}}
8484

8585
fun! g:PymodeLocList.show() "{{{
8686
call setloclist(0, self.loclist())
87-
"if self.is_empty()
88-
if self.num_errors() == 0
87+
if self.is_empty()
8988
lclose
9089
elseif g:pymode_lint_cwindow
9190
let num = winnr()

0 commit comments

Comments
 (0)