On Thursday, November 1, 2012 10:34:23 AM UTC-4, Ben Fritz wrote:
> On Wednesday, October 31, 2012 3:49:22 PM UTC-5, Ian Donegan wrote:
> 
> > I am trying to find a way to use pattern recognition in spell-check. At the 
> > moment, I am not even sure if that is possible, but it seems like it should 
> > be. If I want to have a url in a file with ":set spell" I have to either 
> > mark the link as correct or deal with the red hilighting. Is there any way 
> > to white-list everything that starts with "http://";? Thanks in advance.
> 
> 
> 
> Well, spelling integrates with syntax highlight. You could define a simple 
> syntax to recognize the URLs and disallow spelling in that syntax region.

Great. Thanks for the response. I am relativity new to Vim though, so I have no 
idea how I would go about setting up syntax hilighting rules. The closest thing 
that I could find in the help file was something about "contains=@NoSpell" but 
I do not really understand it. How would I go about setting it up, or at least, 
where could I read more about it?

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

Reply via email to