Minor bug fix: setting checker names in CacheErrors().

This commit is contained in:
LCD 47 2013-08-15 20:30:06 +03:00
parent 7da4da11ba
commit 205dc0b168

View File

@ -214,8 +214,8 @@ function! s:CacheErrors(...)
if !empty(names)
if len(syntastic#util#unique(map(copy(names), 'v:val[1]'))) == 1
let name = join(map(names, 'v:val[0]'), ', ')
let type = names[0][1]
let name = join(map(names, 'v:val[0]'), ', ')
call newLoclist.setName( name . ' ('. type . ')' )
else
" checkers from mixed types