Friday, November 2, 2012

Re: Wildcards in Spell-check?

On Friday, November 2, 2012 12:57:02 PM UTC-5, Ian Donegan wrote:
> >
> > :syntax match NoSpellURL 'http://\S*' contains=@NoSpell
> >
>
> Well, I thank you, Ben Fritz. I stuck that line in my .vimrc file and it fixed my problem for the most part. I still do not understand all of the syntax behind it yet but I should be able to figure the rest out with the help of the manual. It has been a pleasure learning from you.

If you never apply any other syntax highlighting, I suppose adding it to your .vimrc will work.

But more likely eventually you'll edit something syntax highlighted. I suggest wrapping it in a command or syntax plugin of your own.

See :help new-filetype for detecting when to apply the plugin. See :help usr_44.txt for setting up the syntax plugin itself.

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

No comments:

Post a Comment