From e55f2b8f62dfc0fef9b93e982b908b4500f07ab2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 30 May 2018 22:34:39 +1200 Subject: Require +extra_search feat for 'hlsearch' suspend --- vim/plugin/insert_suspend_hlsearch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3