Hello Philip, i noticed by looking at 'runtime/syntax/cl.vim' that it could make use of '@Spell' so that Vim highlights spelling mistakes in comments only when editing a cl 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/cl.vim 2012-05-18 17:50:07.000000000 +0000 +++ ../cl.vim 2012-05-18 17:46:15.000000000 +0000 @@ -43,7 +43,7 @@ syn match clNeedsWork contained "NEED[S]*\s\s*WORK" syn keyword clDebug contained debug -syn match clComment "#.*$" contains=clTodo,clNeedsWork +syn match clComment "#.*$" contains=clTodo,clNeedsWork,@Spell syn region clProcedure oneline start="^\s*[{}]" end="$" syn match clInclude "^\s*include\s.*" @@ -63,8 +63,8 @@ syn match clNumber "\<\d\+\(u\=l\=\|lu\|f\)\>" -syn region clString matchgroup=clQuote start=+"+ end=+"+ skip=+\\"+ -syn region clString matchgroup=clQuote start=+'+ end=+'+ skip=+\\'+ +syn region clString matchgroup=clQuote start=+"+ end=+"+ skip=+\\"+ contains=@Spell +syn region clString matchgroup=clQuote start=+'+ end=+'+ skip=+\\'+ contains=@Spell syn keyword clReserved ERROR EXIT INTERRUPT LOCKED LREPLY MODE MCOL MLINE MREPLY NULL REPLY V1 V2 V3 V4 V5 V6 V7 V8 V9 ZERO BYPASS GOING_BACK AAUTO ABORT ABORT ALIGN BIGE CONVERT FNUM GOBACK HANGUP JUSTIFY NEXIT OUTPUT RAUTO RAWDISPLAY RAWPRINT REPEAT SKIP TAB TRIM LCOUNT PCOUNT PLINES SLINES SCOLS MATCH LMATCH
cl.vim
Description: application/wine-extension-vim