Ah, you are right. But now I get a vim's bug that crash with syntax display. I'm trying to figure out it. I'll post at later.
Below is a way to reproduce. 1. install http://www.vim.org/scripts/script.php?script_id=2332 2. install https://github.com/Shougo/unite.vim to bundle directory 3. install https://github.com/ujihisa/unite-locate to bundle directory 4. :Unite locate 5. type i on ">". and type foo (the word you will get some result from locate) 6. type jjj to select item, then enter. Thanks. On Wednesday, August 10, 2011 9:31:34 PM UTC+9, Bram Moolenaar wrote: > > > mattn wrote: > > > Try to eval following script. > > -------------- > > "a > > match PmenuSel /\%1l/ > > -------------- > > > > It should display '"a' with highlight, but it display '"a '. > > It include one unnecessary space. > > This is a zero-width match, it also matches the end-of-line. > To avoid that make it not zero-width: > > match PmenuSel /\%1l./ > > -- > BROTHER MAYNARD: Armaments Chapter Two Verses Nine to Twenty One. > ANOTHER MONK: And St. Attila raised his hand grenade up on high saying > "O > Lord bless this thy hand grenade that with it thou mayest > blow thine enemies to tiny bits, in thy mercy. "and the > Lord > did grin and people did feast upon the lambs and sloths > and > carp and anchovies and orang-utans and breakfast cereals > and > fruit bats and... > BROTHER MAYNARD: Skip a bit brother ... > "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES > LTD > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net > \\\ > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/\\\ > \\\ an exciting new programming language -- http://www.Zimbu.org > /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org > /// > > -- You received this message from the "vim_dev" 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
