From 7d929d00df653399eae156745dbcb421a109a932 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 11 Jul 2019 16:49:13 +1200 Subject: Correct legacy TextChanged test --- autoload/paste_insert.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/paste_insert.vim b/autoload/paste_insert.vim index 5b26875..49f630f 100644 --- a/autoload/paste_insert.vim +++ b/autoload/paste_insert.vim @@ -49,7 +49,7 @@ let s:cancel_keys = get(g:, 'paste_insert_cancel_keys', ['', '']) " Start the paste: remap any cancel keys, set 'paste' function! s:Start() abort - if exists('##TextChanged') + if !exists('##TextChanged') let b:paste_insert_changenr = changenr() endif for key in s:cancel_keys @@ -65,7 +65,7 @@ endfunction " Stop the paste: unset 'paste', restore prior function of cancel key function! s:Stop() abort - if exists('##TextChanged') + if !exists('##TextChanged') unlet b:paste_insert_changenr endif set nopaste paste? -- cgit v1.2.3 From 521f067900cd13279dac31bbdd0ad91049b8088b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 11 Jul 2019 16:49:33 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 3eefcb9..7dea76e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 +1.0.1 -- cgit v1.2.3