Skip to content

Commit

Permalink
Display "Invalid lnum" message only when g:quickfixsigns_debug is set (
Browse files Browse the repository at this point in the history
…fixes #16)
  • Loading branch information
tomtom committed Feb 1, 2012
1 parent 4d67545 commit ba13290
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/quickfixsigns.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
" @GIT: http://github.com/tomtom/quickfixsigns_vim/
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2009-03-14.
" @Last Change: 2012-01-28.
" @Revision: 1027
" @Last Change: 2012-02-01.
" @Revision: 1028
" GetLatestVimScripts: 2584 1 :AutoInstall: quickfixsigns.vim

if &cp || exists("loaded_quickfixsigns") || !has('signs')
Expand Down Expand Up @@ -613,7 +613,7 @@ function! s:PlaceSign(class, sign, list) "{{{3
let g:quickfixsigns_register[ikey] = item
endif
endif
else
elseif g:quickfixsigns_debug
echohl WarningMsg
echom "Quickfixsigns PlaceSign: Invalid lnum:" string(item)
echohl NONE
Expand Down

0 comments on commit ba13290

Please sign in to comment.