Changes

Jump to navigation Jump to search
481 bytes added ,  11:10, 2 April 2007
how to enable spell checking for ConTeXt files in vim
so the next time you open a <code>*.tex</code> file, vim will recognise always recognize it as a context file.
== Spell-checker ==
Enabling the spell-ckecker has been "forgotten" in <code>context.vim</code>. Either say
:syn[tax] spell toplevel
after opening the document or add
syn spell toplevel
somewhere on the top of <code>runtime/syntax/context.vim</code>, as in:
runtime! syntax/plaintex.vim
let s:cpo_save = &cpo
set cpo&vim
syn spell toplevel
 
Additionally, you have to set
:set spell spelllang=en_US
or the language of your preference once you have installed it into vim.
== ftplugin and syntax file ==

Navigation menu