diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-15 17:38:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 17:38:46 +0800 |
commit | 071c455420dec7992a06a55e8bd443b769ded369 (patch) | |
tree | 3b019807e8e654cb779463008a438450174b4faf /test/old/testdir/test_ins_complete.vim | |
parent | 0a61cb60a633f05e3f05f8d5dae241910a92ee1f (diff) | |
parent | 1b556c04bfd3f4c381db5f62a2e25ebf63165712 (diff) | |
download | rneovim-071c455420dec7992a06a55e8bd443b769ded369.tar.gz rneovim-071c455420dec7992a06a55e8bd443b769ded369.tar.bz2 rneovim-071c455420dec7992a06a55e8bd443b769ded369.zip |
Merge pull request #23102 from zeertzjq/vim-8.2.1378
vim-patch:8.2.{1378,3856,4361,4373,4476}
Diffstat (limited to 'test/old/testdir/test_ins_complete.vim')
-rw-r--r-- | test/old/testdir/test_ins_complete.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/old/testdir/test_ins_complete.vim b/test/old/testdir/test_ins_complete.vim index af0856331d..cdc998cad2 100644 --- a/test/old/testdir/test_ins_complete.vim +++ b/test/old/testdir/test_ins_complete.vim @@ -1598,11 +1598,11 @@ func Test_completefunc_callback() bw! # Test for using a script-local function name - def s:LocalCompleteFunc(findstart: number, base: string): any + def LocalCompleteFunc(findstart: number, base: string): any add(g:LocalCompleteFuncArgs, [findstart, base]) return findstart ? 0 : [] enddef - &completefunc = s:LocalCompleteFunc + &completefunc = LocalCompleteFunc new | only setline(1, 'three') g:LocalCompleteFuncArgs = [] @@ -1855,11 +1855,11 @@ func Test_omnifunc_callback() bw! # Test for using a script-local function name - def s:LocalOmniFunc(findstart: number, base: string): any + def LocalOmniFunc(findstart: number, base: string): any add(g:LocalOmniFuncArgs, [findstart, base]) return findstart ? 0 : [] enddef - &omnifunc = s:LocalOmniFunc + &omnifunc = LocalOmniFunc new | only setline(1, 'three') g:LocalOmniFuncArgs = [] @@ -2148,11 +2148,11 @@ func Test_thesaurusfunc_callback() bw! # Test for using a script-local function name - def s:LocalTsrFunc(findstart: number, base: string): any + def LocalTsrFunc(findstart: number, base: string): any add(g:LocalTsrFuncArgs, [findstart, base]) return findstart ? 0 : [] enddef - &thesaurusfunc = s:LocalTsrFunc + &thesaurusfunc = LocalTsrFunc new | only setline(1, 'three') g:LocalTsrFuncArgs = [] |