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.

Regards
Dominique

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

Raspunde prin e-mail lui