I tried mapping the key to :SyntasticCheck
of Syntastic vim in .vimrc
nmap <leader>sc :SyntasticCheck<CR>
but it doesn't work. Also, when I type this command :SyntasticCheck
into vim command it doesn't work, but when I save file with :w
it works. It checks the syntax & raise errors in bottom window.
Any Ideas?