>Hi
>
>Someone on the list gave me a way to stop spellchecker picking up on
>uncapitalised words after an ellipsis, which I use in
>~/.vim/ftplugin/tex.vim and it works great.
>
>However, I found that the same thing in txt.vim doesn't work.
>
>Any idea why this is not working?
>
>These are the lines:
>
>setl spell
>syn match Ellipsis /[.][.][.]\s\+\l.*\>/ contains=@NoSpell transparent
>syn match Ellipsis2 /[.][.][.]\n\s\+\l.*\>/ contains=@NoSpell transparent
>syn cluster Spell add=Ellipsis
>syn cluster Spell add=Ellipsis2
>
>I also put them in ~/.vim/plugin/settings but that doesn't seem to
>work either.
OK I have found what the problem is, but haven't yet found a fix.
In my txt file I have a modeline:
% vim: syn=tex
If I take that out it works as expected, but I want to use tex syntax.
Any ideas? (Other than renaming my txt files to tex)
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment