scrooloose/syntastic — pull request #133 by benjifisher (2011-12-21 16:45:47+00:00)
Title: Allow multiple filetypes, such as "c.doxygen" or "php.drupal".

This patch makes two small changes:
1. Add a `!` to the one function definition that lacks it, so that
```vim
:unlet loaded_syntastic_plugin
:runtime plugin/syntastic.vim
```does not throw an error.
2. Replace `s:ModeMapAllowsAutoChecking()` with the [Dictionary-function](http://vimdoc.sourceforge.net/htmldoc/eval.html#Dictionary-function) `g:syntastic_mode_map.AllowAutoChecking()`. This should not affect the behavior of the script, but I think this is what Dictionary functions were invented for.

The big change in this patch is to rewrite the functions `s:CacheErrors()` and `s:ModeMapAllowsAutoChecking()` so that multiple filetypes are checked separately.