I have a sizable vim script (a .vim file, in viml syntax). I'd like to check (but not execute!) the file for simple syntax errors.
How do I accomplish this?
I just want a very rough syntax check. Something along the lines of perl -c
or pyflakes
.
Here is a syntax checker for VimL. https://github.com/syngan/vim-vimlint/