aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-05-30 22:34:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-05-30 22:38:56 +1200
commite55f2b8f62dfc0fef9b93e982b908b4500f07ab2 (patch)
tree1bfbe628cdb75957f569ce09577ee6279ef49334
parent9f3a6174b536ac709c1f873d7b5cb21fbb9407ac (diff)
downloaddotfiles-e55f2b8f62dfc0fef9b93e982b908b4500f07ab2.tar.gz
dotfiles-e55f2b8f62dfc0fef9b93e982b908b4500f07ab2.zip
Require +extra_search feat for 'hlsearch' suspend
-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