move the syntastic_jsl_conf option out of the core plugin
Move this variable out of syntastic.vim since we dont the core plugin shouldn't know any details of how the individual syntax checkers work.
This commit is contained in:
parent
5bc6c2226f
commit
09d0a091f0
@ -39,10 +39,6 @@ if !exists("g:syntastic_disabled_filetypes")
|
||||
let g:syntastic_disabled_filetypes = []
|
||||
endif
|
||||
|
||||
if !exists("g:syntastic_jsl_conf")
|
||||
let g:syntastic_jsl_conf = ""
|
||||
endif
|
||||
|
||||
"load all the syntax checkers
|
||||
runtime! syntax_checkers/*.vim
|
||||
|
||||
|
@ -19,6 +19,10 @@ if !executable("jsl")
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists("g:syntastic_jsl_conf")
|
||||
let g:syntastic_jsl_conf = ""
|
||||
endif
|
||||
|
||||
function! SyntaxCheckers_javascript_GetLocList()
|
||||
if empty(g:syntastic_jsl_conf)
|
||||
let jslconf = ""
|
||||
|
Loading…
Reference in New Issue
Block a user