I have included the following lines in my vimrc file to run syntastic plugin.[closed]
let g:syntastic_mode_map = { 'mode': 'active',
\ 'active_filetypes': [],
\ 'passive_filetypes': ['html'] }
" To enable this plugin, edit the .vimrc like this:
let g:syntastic_javascript_checker = "closurecompiler"
" and set the path to the Google Closure Compiler:
let g:syntastic_javascript_closure_compiler_path = '~/.vim/closure-compier/compiler.jar'
let g:syntastic_enable_signs=1
let g:syntastic_auto_loc_list=1
But it doesnt seems to work,I tried debuging the closurecompiler.vim script .Inside it function SyntaxCheckers_javascript_GetLocList() has the makeprg variable when i echo the variable it prints the following line
java -jar ~/.vim/closure/closure.jar --js 'workspace/abc.js'
but does not show any error ,however if i enter same line in console i get all errors What am i doing wrong in my setup. you can see my setup on github