]> granicus.if.org Git - vim/commit
patch 8.2.3537: mode() does not return the right value in 'operatorfunc' v8.2.3537
authornaohiro ono <obcat@icloud.com>
Tue, 19 Oct 2021 10:15:41 +0000 (11:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 19 Oct 2021 10:15:41 +0000 (11:15 +0100)
commit75c30e96cf280a8cc01ac01c41a9252db3e503cc
tree772920dcede7279046602574c24221e9645360a9
parentad6b90c33cc239794a6694ef53e8baeee2ed97bd
patch 8.2.3537: mode() does not return the right value in 'operatorfunc'

Problem:    mode() does not return the right value in 'operatorfunc'.
Solution:   Reset finish_op while calling 'operatorfunc'.
src/ops.c
src/testdir/test_functions.vim
src/version.c