This commit is contained in:
LCD 47 2016-10-19 08:43:03 +03:00
parent 81732634df
commit 9b45d5c4b4
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START lockvar! g:_SYNTASTIC_START
endif endif
let g:_SYNTASTIC_VERSION = '3.7.0-242' let g:_SYNTASTIC_VERSION = '3.7.0-243'
lockvar g:_SYNTASTIC_VERSION lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1 " Sanity checks {{{1

View File

@ -294,7 +294,7 @@ function! g:SyntasticRegistry.echoInfoFor(ftalias_list) abort " {{{2
let cnt = len(disabled) let cnt = len(disabled)
let plural = cnt != 1 ? 's' : '' let plural = cnt != 1 ? 's' : ''
if len(disabled) if len(disabled)
let cklist = join(sort(disabled, 's:_compare_filetypes')) let cklist = join(sort(disabled, 's:_compare_checker_names'))
echomsg 'Checker' . plural . ' disabled for security reasons: ' . cklist echomsg 'Checker' . plural . ' disabled for security reasons: ' . cklist
endif endif
@ -414,7 +414,7 @@ function! s:_disabled_by_ycm(filetype) abort " {{{2
return index(s:_YCM_TYPES, a:filetype) >= 0 return index(s:_YCM_TYPES, a:filetype) >= 0
endfunction " }}}2 endfunction " }}}2
function! s:_compare_filetypes(a, b) abort " {{{2 function! s:_compare_checker_names(a, b) abort " {{{2
if a:a ==# a:b if a:a ==# a:b
return 0 return 0
endif endif