Hello Nicolas, here is small patch for 'runtime/syntax/ninja.vim' so that Vim highlights spelling mistakes in comments only when editing a file with those settings:
:syntax on :set spell -- Regards, Thilo 4096R/0xC70B1A8F 721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
--- runtime/syntax/ninja.vim 2012-05-18 14:57:49.000000000 +0000 +++ ../ninja.vim 2012-05-18 20:26:55.000000000 +0000 @@ -15,7 +15,7 @@ syn case match -syn match ninjaComment /#.*/ +syn match ninjaComment /#.*/ contains=@Spell " Toplevel statements are the ones listed here and " toplevel variable assignments (ident '=' value).
ninja.vim
Description: application/wine-extension-vim