diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2014-08-22 20:45:26 -0400 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2014-09-04 00:18:24 -0400 |
commit | bf3d9457981c372bb33155045b070facffd01f65 (patch) | |
tree | a78f6479a175fcaeb607a3d4126b92c67263f730 /src/nvim/ex_docmd.c | |
parent | 057f26f0a6278845d5a295cdae1b6e92617d41f9 (diff) | |
download | rneovim-bf3d9457981c372bb33155045b070facffd01f65.tar.gz rneovim-bf3d9457981c372bb33155045b070facffd01f65.tar.bz2 rneovim-bf3d9457981c372bb33155045b070facffd01f65.zip |
vim-patch: 7.4.330
Problem: Using a regexp pattern to highlight a specific position can
be slow.
Solution: Add matchaddpos() to highlight specific positions
efficiently.
(Alexey Radkov.)
https://code.google.com/p/vim/source/detail?r=f9fa2e506b9f07549cd91074835c5c553db7b3a7
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index ab7add1c5b..2dc5ad436d 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -8859,7 +8859,7 @@ static void ex_match(exarg_T *eap) c = *end; *end = NUL; - match_add(curwin, g, p + 1, 10, id); + match_add(curwin, g, p + 1, 10, id, NULL); free(g); *end = c; } |