Work with copy of g:syntastic_vala_modules list.
This commit is contained in:
parent
75a234231b
commit
0511f0a216
@ -36,7 +36,7 @@ function! s:GetValaModules()
|
||||
if type(g:syntastic_vala_modules) == type('')
|
||||
return split(g:syntastic_vala_modules, '\s\+')
|
||||
elseif type(g:syntastic_vala_modules) == type([])
|
||||
return g:syntastic_vala_modules
|
||||
return copy(g:syntastic_vala_modules)
|
||||
else
|
||||
echoerr 'g:syntastic_vala_modules must be either list or string: fallback to in file modules string'
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user