When highlighting the current word, check if it is the same as the currently highlighted one, so that matchdelete and matchadd are not called unnecessarily.
3.0 KiB
3.0 KiB
When highlighting the current word, check if it is the same as the currently highlighted one, so that matchdelete and matchadd are not called unnecessarily.