Dominique wrote: > Bram Moolenaar <[email protected]> wrote: > > > Patch 8.0.0659 > > Problem: No test for conceal mode. > > Solution: Add a conceal mode test. (Dominique Pelle, closes #1783) > [...snip...] > > --- src/testdir/test_syntax.vim 2017-06-22 21:49:30.759602715 +0200 > [...snip...] > > + " FIXME: with conceallevel=1, I would expect that the portion "45" of > > + " the line to be replaced with a space since ":help 'conceallevel' > > + " states that if listchars is not set, then the default replacement > > + " should be a space. But synconcealed() gives an empty string in > > + " the 2nd value of the returned list. Bug? > > + " So for now, the following line is commented out: > > + call assert_equal([[0, ''], [1, 'X'], [1, 'X'], [1, ' '], [1, ' '], [0, > > '']], map(range(1, 6), 'synconcealed(2, v:val)[0:1]')) > > Ah, sorry :-( I just see now that I should have removed the above FIXME > comment in src/testdir/test_syntax.vim since the issue with the 2nd > column returned by synconcealed() is now fixed. The comment says > that the following lines is commented out, but it's no longer commented. > We can just remove this whole comment.
I'll remove it. The other problem you mentioned, that the third argument is different every time, is that really every time, also when still inside the same match? I think that requires a syntax item that spans more than one displayed character. When doing the same line again, syncing happens and will set new IDs for the matched items, that is normal. -- hundred-and-one symptoms of being an internet addict: 68. Your cat always puts viruses on your dogs homepage /// 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.
