Closed tsuyoshicho closed 3 years ago
Warning: I will close the bug issue without the minimal init.vim and the reproduce ways.
The problem is low level, but I will report it.
Vim start with dein, hook_add / hook_source processed two count. Problem happen only once next start after plugin install completed.
hook_add
hook_source
Problem detail write to reproduce step section.
dein's hook run only once hook_add / hook_source (without user `call dein#call_hook('xxx') )
dein.vim version(SHA1): e36677aada28fcb97c8fbfb49342e8a33c5b4b7b
OS: Windows 10 Pro (21H1 latest 2021/09/08)
Vim/neovim version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 2 2021 08:19:11) MS-Windows 64 ビット GUI/コンソール 版 with OLE サポート 適用済パッチ: 1-3394
build in vim-tux project
https://github.com/tsuyoshicho/testvimrc.vim/tree/test/deinadddup
Minimal vimrc and reproduce log in this branch.
:echo g:test_mb_addcnt
:echo g:test_mb_srccnt
:echo g:test_mb_postsrccnt
these g:test_mb_* variables define and work in test.toml
g:test_mb_*
test.toml
count up per process hook_* expect work: all set 1
hook_*
1
nothing.
:redir
:message
https://github.com/tsuyoshicho/testvimrc.vim/blob/test/deinadddup/log/result.txt
PP g:test_mb_addcnt: g:test_mb_addcnt = 2 PP g:test_mb_srccnt: g:test_mb_srccnt = 2 PP g:test_mb_postsrccnt: g:test_mb_postsrccnt = 1
Thanks a lot!
Warning: I will close the bug issue without the minimal init.vim and the reproduce ways.
The problem is low level, but I will report it.
Problems summary
Vim start with dein,
hook_add
/hook_source
processed two count. Problem happen only once next start after plugin install completed.Problem detail write to reproduce step section.
Expected
dein's hook run only once
hook_add
/hook_source
(without user `call dein#call_hook('xxx') )Environment Information (Required!)
dein.vim version(SHA1): e36677aada28fcb97c8fbfb49342e8a33c5b4b7b
OS: Windows 10 Pro (21H1 latest 2021/09/08)
Vim/neovim version:
build in vim-tux project
Provide a minimal .vimrc with less than 50 lines (Required!)
https://github.com/tsuyoshicho/testvimrc.vim/tree/test/deinadddup
Minimal vimrc and reproduce log in this branch.
The reproduce ways from Vim starting (Required!)
:echo g:test_mb_addcnt
and:echo g:test_mb_srccnt
:echo g:test_mb_postsrccnt
these
g:test_mb_*
variables define and work intest.toml
count up per process
hook_*
expect work: all set1
Screen shot (if possible)
nothing.
Upload the log messages by
:redir
and:message
(if errored)https://github.com/tsuyoshicho/testvimrc.vim/blob/test/deinadddup/log/result.txt