aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorwatiko <service@mail.watiko.net>2016-02-09 17:03:27 +0900
committerwatiko <service@mail.watiko.net>2016-02-11 15:08:31 +0900
commit133ef7e4654c0a9946825ec7c09aec77a472d4c4 (patch)
treec3201183d9ef870029d93d7033cd253ff5f7edd7 /src/nvim/ex_docmd.c
parent84281bf675f77f417d26a68611406ef43fd82f7f (diff)
downloadrneovim-133ef7e4654c0a9946825ec7c09aec77a472d4c4.tar.gz
rneovim-133ef7e4654c0a9946825ec7c09aec77a472d4c4.tar.bz2
rneovim-133ef7e4654c0a9946825ec7c09aec77a472d4c4.zip
vim-patch:7.4.792
Problem: Can only conceal text by defining syntax items. Solution: Use matchadd() to define concealing. (Christian Brabandt) https://github.com/vim/vim/commit/6561d52ecbe6e24d1b90403078cc8b76c53c42fc
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index d6976bcb8f..417c30b2eb 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -9388,7 +9388,7 @@ static void ex_match(exarg_T *eap)
c = *end;
*end = NUL;
- match_add(curwin, g, p + 1, 10, id, NULL);
+ match_add(curwin, g, p + 1, 10, id, NULL, NULL);
xfree(g);
*end = c;
}