Wednesday, January 23, 2013

Re: spell check for the line contains "#"

On Wednesday, January 23, 2013 12:02:21 AM UTC-6, lei yang wrote:
> Hi experts,
>
>
>
> I only want enable spell checking for the line contains # ----> "#
>
> often is the comments" , in another word
>
> I only want to check the comment line, how could I do?
>

Enable filetype detection and syntax highlighting. Spell checking integrates with syntax highlighting to determine what regions allow spell checking.

Many (but not all) syntax files already define these regions. If things don't work as you expect after enabling spell checking on a highlighted file, let us know what filetype you are editing and perhaps we can give more help.

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