Hello everyone! I have a file which has the following patterns:
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 and I want to write a vim syntax file to highlight the above pattern, in the following way: 1. each two numbers forms a group. for example, 1 1 is a group, 2 2 is another group 2. adjacent groups have different colors. For example, for the first line, 1 1 and 3 3 is red, while 2 2 and 4 4 is blue I find it hard to accomplish it with simple pattern match, can you give some suggestions? Thank you ! --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
