mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 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)
This commit is contained in:
@@ -11489,7 +11489,7 @@ ex_match(eap)
|
||||
|
||||
c = *end;
|
||||
*end = NUL;
|
||||
match_add(curwin, g, p + 1, 10, id);
|
||||
match_add(curwin, g, p + 1, 10, id, NULL);
|
||||
vim_free(g);
|
||||
*end = c;
|
||||
}
|
||||
|
Reference in New Issue
Block a user