Tuesday, January 8, 2013

Re: help on syntax file for fixed-width record files

On Tue, Jan 8, 2013 at 12:10 AM, Boris Danilov <brdanilov@gmail.com> wrote:
Dan,

Your solution isn't working because you're tryting to match 3 items
starting with "^A". When there are several match or region patterns
only the one defined last will match (look :help syn-priority),
therefore ARecord_RecordType matches for you. Once again, when
something matches in current position, this segment normally isn't
tried for the matches with other syntax elements.

I mostly understood *what* was happening, just not how to fix it.  Unfortunately your solution didn't work for me.
 
I suggest reading :help usr_44.txt to better understand syntax basics.
 

I read that, but I don't think I understood most of it.  I'll continue on with Vlad's solution and come back to usr_44.txt afterwards to see if it makes more sense then.

Thanks for the help,
Dan 

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