Le vendredi 13 juin 2014 18:53:06 UTC+2, Charles Campbell a écrit :
> Enno wrote:
>
> > Ok, I understand that spell checking is only activated after a
>
> > keyword, such as the \section{..} command. But why is it that
>
> > \begin{document} does not belong to these keywords? This disables
>
> > spell checking for example for letter document classes without any
>
> > sectioning. How to remedy this least intrusively?
>
> Spell checking is activated for syntax regions. Most of the preamble
>
> should not be spell checked. Spell checking *is* enabled for
>
> \begin{document}..\end{document} (that's called a texDocZone by the
>
> syntax highlighting), and it does work for the letter document classes
>
> without sectioning.
>
>
>
> Regards,
>
> Chip Campbell
Hello,
there is c:\Program Files\Vim\vim74\syntax\tex.vim that says
" Maintainer: Charles E. Campbell
" Last Change: Mar 20, 2014
" Version: 81
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
However, in the test file
\documentclass{article}
\begin{document}
\end{document}
the spell checking errors are only detected in the comments between
\begin{document} and \end{document}, but not in the text itself.
This changes however, if a \section{...} command is added, for example.
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.