Last active
August 29, 2015 14:14
-
-
Save itchyny/d703754c6e5a2dc9f213 to your computer and use it in GitHub Desktop.
incsearch-hlall.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r cd5eff09c1ae src/ex_getln.c | |
--- a/src/ex_getln.c Thu Feb 05 20:29:59 2015 +0100 | |
+++ b/src/ex_getln.c Sat Feb 07 02:09:58 2015 +0900 | |
@@ -1778,8 +1778,10 @@ | |
curwin->w_cursor = old_cursor; /* start at old position */ | |
/* If there is no command line, don't do anything */ | |
- if (ccline.cmdlen == 0) | |
+ if (ccline.cmdlen == 0) { | |
i = 0; | |
+ SET_NO_HLSEARCH(TRUE); | |
+ } | |
else | |
{ | |
cursor_off(); /* so the user knows we're busy */ | |
@@ -1790,7 +1792,7 @@ | |
profile_setlimit(500L, &tm); | |
#endif | |
i = do_search(NULL, firstc, ccline.cmdbuff, count, | |
- SEARCH_KEEP + SEARCH_OPT + SEARCH_NOOF + SEARCH_PEEK, | |
+ SEARCH_OPT + SEARCH_NOOF + SEARCH_PEEK, | |
#ifdef FEAT_RELTIME | |
&tm | |
#else |
だれかオプション'incsearchall'
作って。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/test<C-u>
でクリアーされないっぽい。 → 解決