Sunday, June 12, 2016

Spellcheck after Ellipsis again

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.


--
--
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