Mercurial > vim
comparison src/ex_docmd.c @ 6947:1efa7c2b9368 v7.4.792
patch 7.4.792
Problem: Can only conceal text by defining syntax items.
Solution: Use matchadd() to define concealing. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Jul 2015 15:48:27 +0200 |
parents | 0229cfffc560 |
children | 86d43639de31 |
comparison
equal
deleted
inserted
replaced
6946:c56ef0540cd5 | 6947:1efa7c2b9368 |
---|---|
12077 return; | 12077 return; |
12078 } | 12078 } |
12079 | 12079 |
12080 c = *end; | 12080 c = *end; |
12081 *end = NUL; | 12081 *end = NUL; |
12082 match_add(curwin, g, p + 1, 10, id, NULL); | 12082 match_add(curwin, g, p + 1, 10, id, NULL, NULL); |
12083 vim_free(g); | 12083 vim_free(g); |
12084 *end = c; | 12084 *end = c; |
12085 } | 12085 } |
12086 } | 12086 } |
12087 eap->nextcmd = find_nextcmd(end); | 12087 eap->nextcmd = find_nextcmd(end); |