Bjorn Linse wrote: > Steps to reproduce: > start a new vim instance with "vim -u NONE -N" > Enter a few lines with "&&" on each line, ie > 6o&&<Esc> > enter commands > :syntax on > :set conceallevel=1 > :syn match testmatch '[&][&]' conceal cchar=x > > result: > first "&&" gets invisible, instead of changed to "x". Redrawing the screen > and the problem goes away. > > The problem seems to be that the first syntax entry gets seqnr 0, > which also means "no current syntax group" in win_line. Patch attached > to fix this (first entry gets seqnr 1). > > The drawing issue was first uncovered by Clinton McKay (@McKizzle at > github) in a neovim screen test > https://github.com/neovim/neovim/pull/2055 (and the test case above > was extracted from it)
Thanks, I'll include it. -- -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed -rwxr-xr-t 4 root 131720 Jan 1 1970 /usr/ucb/vi -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs /// 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
