Closed hare001 closed 3 years ago
Closing. Because you don't have uploaded reproduce-able vimrc.
Why? It is not included BufWritePost
autocmd in the vimrc.
set runtimepath^=~/work/dein.vim
if dein#load_state('~/work/test')
call dein#begin('~/work/test')
" markdown
call dein#add('suan/vim-instant-markdown')
"call dein#config('vim-instant-markdown', {
"\ 'lazy': 1, 'on_ft': 'markdown',
"\ })
call dein#add('mzlogin/vim-markdown-toc')
"call dein#config('vim-markdown-toc', {
"\ 'lazy': 1, 'on_ft': 'markdown',
"\ })
call dein#end()
call dein#save_state()
endif
autocmd! bufwritepost $MYVIMRC source %
It works for me.
Reproduced.
Problems summary
When I use
call dein#add('suan/vim-instant-markdown', {'lazy': 1, 'on_ft': 'markdown'})
orcall dein#config('vim-instant-markdown', {'lazy': 1, 'on_ft': 'markdown'})
, I got a warning message when I save init.vim file.like this:[dein] Plugin name "vim-instant-markdown" is already defined.
Expected
no warning message when I save init.vim file.
Environment Information (Required!)
dein.vim version(SHA1):c6ddf04183606413870a0f8a86f61f8d58f85982
OS:macOS Catalina version 10.15.7
Vim/neovim version:NVIM v0.5.0-nightly
Provide a minimal .vimrc with less than 50 lines (Required!)
The reproduce ways from Vim starting (Required!)
:call dein#install()
to install plugins:w
to save the init.vim file:w
to save twiceScreen shot (if possible)
Upload the log messages by
:redir
and:message
(if errored)