From 292f705916b00b1fd5f9439fde7ba0e91088e9f1 Mon Sep 17 00:00:00 2001 From: Grzegorz Janik Date: Tue, 28 Feb 2017 15:21:31 +0100 Subject: [PATCH] Show linters error list only if not empty --- AUTHORS | 1 + autoload/pymode/lint.vim | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index f08f022f..fcb4ead0 100644 --- a/AUTHORS +++ b/AUTHORS @@ -26,6 +26,7 @@ Contributors: * Dirk Wallenstein (http://github.com/dirkwallenstein); * Florent Xicluna (http://github.com/florentx); * Fredrik Henrysson (http://github.com/fhenrysson); +* Grzegorz Janik (http://github.com/glujan); * Igor Guerrero (http://github.com/igorgue); * Jacob Niehus (https://github.com/wilywampa) * Jason Harvey (http://github.com/alienth) diff --git a/autoload/pymode/lint.vim b/autoload/pymode/lint.vim index f6d27bf7..037df921 100644 --- a/autoload/pymode/lint.vim +++ b/autoload/pymode/lint.vim @@ -61,6 +61,7 @@ fun! pymode#lint#check() "{{{ if loclist.is_empty() call pymode#wide_message('Code checking is completed. No errors found.') + return endif call g:PymodeSigns.refresh(loclist)