mirror of
https://github.com/amix/vimrc
synced 2025-06-24 07:44:59 +08:00
Updated plugins
This commit is contained in:
@ -53,7 +53,7 @@ function! SyntaxCheckers_vim_vimlint_GetLocList() dict
|
||||
" value 3: the message is a warning
|
||||
"
|
||||
" References: :help vimlint-errorcode and :help vimlint-variables
|
||||
return vimlint#vimlint(expand('%'), {
|
||||
let param = {
|
||||
\ 'output': function('s:vimlintOutput'),
|
||||
\ 'quiet': 1,
|
||||
\ 'EVL102': 3,
|
||||
@ -63,7 +63,16 @@ function! SyntaxCheckers_vim_vimlint_GetLocList() dict
|
||||
\ 'EVL106': 3,
|
||||
\ 'EVL201': 3,
|
||||
\ 'EVL204': 3,
|
||||
\ 'EVL205': 3 })
|
||||
\ 'EVL205': 3 }
|
||||
|
||||
if exists('g:syntastic_vimlint_options')
|
||||
if type(g:syntastic_vimlint_options) == type({})
|
||||
let options = filter(copy(g:syntastic_vimlint_options), 'v:key =~# "\\m^EVL"')
|
||||
call extend(param, options, 'force')
|
||||
endif
|
||||
endif
|
||||
|
||||
return vimlint#vimlint(expand('%'), param)
|
||||
endfunction
|
||||
|
||||
" @vimlint(EVL103, 1, a:filename)
|
||||
|
Reference in New Issue
Block a user