Skip to content

Commit 2eb18f5

Browse files
committed
add global option to disable incsearch
1 parent 2c23ef6 commit 2eb18f5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

plugin/incsearch.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

2-
if !exists('##CmdlineChanged')
2+
if !get(g:, 'eregex_incsearch_enable', 1)
3+
\ || !exists('##CmdlineChanged')
34
\ || !exists('##CmdlineLeave')
45
finish
56
endif

0 commit comments

Comments
 (0)