aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/plugin/insert_suspend_hlsearch.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/insert_suspend_hlsearch.vim b/vim/plugin/insert_suspend_hlsearch.vim
index e82fd00a..d3825132 100644
--- a/vim/plugin/insert_suspend_hlsearch.vim
+++ b/vim/plugin/insert_suspend_hlsearch.vim
@@ -9,7 +9,7 @@
if exists('g:loaded_insert_suspend_hlsearch') || &compatible
finish
endif
-if !has('autocmd') || v:version < 700
+if !has('autocmd') || !has('extra_search') || v:version < 700
finish
endif
let g:loaded_insert_suspend_hlsearch = 1