Hello. Although I have activated spell in french, the highlighting of misspelled words have a strange behavior. Sometimes just sentences in comments or in brackets are verified, sometimes wrong words in the text are detected. I do not understand when it works or not, it can be in the same session of text editing, after a compilation, or when I add or delete a file.
In help spell I noticed remarks on performance, but I do not understand really how it could help me. Vim does on-the-fly spell checking. To make this work fast the word list is loaded in memory. Thus this uses a lot of memory (1 Mbyte or more). There might also be a noticeable delay when the word list is loaded, which happens when 'spell' is set and when 'spelllang' is set while 'spell' was already set. To minimize the delay each word list is only loaded once, it is not deleted when 'spelllang' is made empty or 'spell' is reset. When 'encoding' is set all the word lists are reloaded, thus you may notice a delay then too. In ~/.vim/ftplugin/tex.vim I have the following lines about spell checking : :set spell spelllang=fr,en "français et anglais :syntax spell toplevel "activé :let g:tex_verbspell=1 "prenant en compte les commandes LaTeX The file I am writing contains 650 lines on a computer with 8 Go of physical memory. Could someone help me ? Thank you. -- pierrO ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel