xxx wrote:
> I would really appreciate a specific example on how to acomplish this. 
> My last try is syn region texComment matchgroup=texStatement 
> start='{tabular}{' end='}' \ contains=@NoSpell but it doesn't work... 
You almost had it earlier; you need to have your new region contained in 
texDocZone:
    syn region texTabularPos matchgroup=texStatement 
start='\\begin\s*{\s*tabular\s*}{' end='}' fold 
contains=@texFoldGroup,@texDocGroup,@NoSpell containedin=texDocZone
That may not be the only region that it needs to be contained in, however.
I use my :HLT!  command available with my plugin hilinks.vim: 
http://www.drchip.org/astronaut/vim/index.html#HILINKS
Then you can move your cursor around and determine which syntax region 
is currently active under the cursor.
Regards,
C Campbell
-- 
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
Wednesday, October 31, 2012
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment