In the latest help file of
*eval.txt*      For Vim version 8.0.  Last change: 2018 Jan 28

The last paragraph of matchaddpos() says:
<               Matches added by |matchaddpos()| are returned by
                |getmatches()| with an entry "pos1", "pos2", etc., with the
                value a list like the {pos} item.
                These matches cannot be set via |setmatches()|, however they
                can still be deleted by |clearmatches()|.

However, as far as I tried on 8.0, matchaddpos() entries can be set via
setmatches(). Did the following patch solve the restriction?

Patch 7.4.745 
Problem:    The entries added by matchaddpos() are returned by getmatches() 
            but can't be set with setmatches(). (Lcd) 
Solution:   Fix setmatches(). (Christian Brabandt) 
Files:      src/eval.c, src/testdir/test63.in, src/testdir/test63.ok 

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