I am coding in LaTeX, and syntastic seems to come up with messages that don't actually flag up errors. One in particular is possible unwanted space at "{" in this piece of code on lines 1 and 2.

    regular polygon,
    regular polygon sides=6,
    minimum size=1cm,
    inner sep=0mm,
    outer sep=0mm,

Is there any way I can supress certain syntastic messages such as this one?

  • 1
    Read syntastic help, see what backends are enabled for LaTeX, disable or configure the culprit. Syntastic only comes up with the results of the backends it runs, you still have to read about & configure those.
    – VanLaser
    Oct 30, 2016 at 16:31
  • 1
    Syntastic checkers for TeX / LaTeX are mostly useless. There is little point in keeping them enabled.
    – lcd047
    Nov 1, 2016 at 10:03

1 Answer 1


Yes, syntastic can filter out certain messages. Read :help 'syntastic_quiet_messages' for details.

All you have to do is fill this dictionary in your vimrc with a regex like this:

let g:syntastic_quiet_messages = { "regex": [
        \ '\mpossible unwanted space at "{"',
        \ ] }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.