diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-03 04:49:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 04:49:30 -0700 |
commit | 03be64ce2ac1bd941996024a5bd0e3f9fa974445 (patch) | |
tree | 04dd2584d0eecdf8ffa9e675a8a5c7f24c6fc89a /src/nvim/ex_getln.c | |
parent | dcc8fcf0b9d819357d5ec9beb36cf698e600e809 (diff) | |
parent | 7199f0b3b3e31c1c3b96d17d6f1f959d1db5ce76 (diff) | |
download | rneovim-03be64ce2ac1bd941996024a5bd0e3f9fa974445.tar.gz rneovim-03be64ce2ac1bd941996024a5bd0e3f9fa974445.tar.bz2 rneovim-03be64ce2ac1bd941996024a5bd0e3f9fa974445.zip |
Merge #10921 from janlazo/vim-8.0.1768
vim-patch:8.0.{1768,1806},8.1.{46,1063}
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 4f35555098..f00367d9ca 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -1830,7 +1830,7 @@ static int command_line_changed(CommandLineState *s) // If there is no command line, don't do anything if (ccline.cmdlen == 0) { i = 0; - SET_NO_HLSEARCH(true); // turn off previous highlight + set_no_hlsearch(true); // turn off previous highlight redraw_all_later(SOME_VALID); } else { int search_flags = SEARCH_OPT + SEARCH_NOOF + SEARCH_PEEK; @@ -1888,7 +1888,7 @@ static int command_line_changed(CommandLineState *s) // Disable 'hlsearch' highlighting if the pattern matches // everything. Avoids a flash when typing "foo\|". if (empty_pattern(ccline.cmdbuff)) { - SET_NO_HLSEARCH(true); + set_no_hlsearch(true); } validate_cursor(); |