]> granicus.if.org Git - vim/commit
patch 8.2.4181: Vim9: cannot use an import in 'diffexpr' v8.2.4181
authorBram Moolenaar <Bram@vim.org>
Sat, 22 Jan 2022 17:58:13 +0000 (17:58 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 22 Jan 2022 17:58:13 +0000 (17:58 +0000)
commit7b29f6a3949743914f08410b6f6bd6237c2f2038
tree21b717dfe0bc0e3696c7e089381845e27c2ed62c
parent5600a709f453045c80f92087acc0f855b4af377a
patch 8.2.4181: Vim9: cannot use an import in 'diffexpr'

Problem:    Vim9: cannot use an import in 'diffexpr'.
Solution:   Set the script context when evaluating 'diffexpr'.  Do not require
            'diffexpr' to return a bool, it was ignored anyway.
src/evalvars.c
src/testdir/test_vim9_import.vim
src/version.c