Skip to content

Commit 292f705

Browse files
committed
Show linters error list only if not empty
1 parent 8489d7b commit 292f705

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Contributors:
2626
* Dirk Wallenstein (http://github.com/dirkwallenstein);
2727
* Florent Xicluna (http://github.com/florentx);
2828
* Fredrik Henrysson (http://github.com/fhenrysson);
29+
* Grzegorz Janik (http://github.com/glujan);
2930
* Igor Guerrero (http://github.com/igorgue);
3031
* Jacob Niehus (https://github.com/wilywampa)
3132
* Jason Harvey (http://github.com/alienth)

autoload/pymode/lint.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ fun! pymode#lint#check() "{{{
6161

6262
if loclist.is_empty()
6363
call pymode#wide_message('Code checking is completed. No errors found.')
64+
return
6465
endif
6566

6667
call g:PymodeSigns.refresh(loclist)

0 commit comments

Comments
 (0)