commit | 6561d52ecbe6e24d1b90403078cc8b76c53c42fc | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 21 15:48:27 2015 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 21 15:48:27 2015 +0200 |
tree | f68a8d31545f7b89ae0e31a81f8e0ac0216a99ac | |
parent | d51cb706a4e3ae99555bc214a64c83603c701139 [diff] [blame] |
patch 7.4.792 Problem: Can only conceal text by defining syntax items. Solution: Use matchadd() to define concealing. (Christian Brabandt)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 971a202..00485e3 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -12079,7 +12079,7 @@ c = *end; *end = NUL; - match_add(curwin, g, p + 1, 10, id, NULL); + match_add(curwin, g, p + 1, 10, id, NULL, NULL); vim_free(g); *end = c; }