On 8/8/06, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
Hi,
I am using vim 7.0 on windows and spell checking does not work with
context files. (syntax file dated 2006-04-19)
Here is a quick test.
1. start vim with
gvim -u NONE -U NONE
2. set the following options
syntax on
set syntax=context
set spell
3. Type the following
\starttext
This is a mistaake in typinng
\stoptext
The spell errors are not highlighted. If I change the syntax to
plaintex
set syntax=plaintex
then syntax highlighting works.
Any idea what is wrong with context syntax files?
File $VIMRUNTIME/syntax/context.vim contains many [EMAIL PROTECTED]
arguments.
This is what causes spelling to ignore certain regions.
You can either
(1) email the maintainder of the $VIMRUNTIME/syntax/context.vim
file , or (2) edit your copy of $VIMRUNTIME/syntax/context.vim
removing '[EMAIL PROTECTED]' parts where appropriate.
Yakov