Warning: I will close the issue without the minimal init.vim and the
reproduction instructions.
Problems summary
The runtimepath stored in the state file contains runtimepaths of both an original plugin path and the cached directory (.dpp) to which the plugin was merged. In this issue, I try to manage vim-denops. By loading the state file, both of them are of course included in the loaded runtimepath, and I can see duplicated two titles of denops.txt at LOCAL ADDITIONS by :help command. Thanks in advance.
Expected
I expect the original plugin path, which I mean the path at which the plugin was cloned, would not be included in the runtimepath that was exported in the state file according to the document content dpp-merge.
Environment Information
dpp.vim version (SHA1): bf6f0d77af405848eaac3517bfc3df3f5b2cb16d
denops.vim version (SHA1): 16d4bbc5c8e359ab50042f66dc5c9a2cdeabff6e
if g:dpp#_cache_version !=# 1| throw "Cache version error" | endif
let [g:dpp#_plugins, g:dpp#ftplugin, g:dpp#_options, g:dpp#_check_files] = g:dpp#_cache
let g:dpp#_config_path = '/Users/kshu/.vim/plugin/dpp.ts'
let &runtimepath = '/Users/kshu/.cache/dpp/repos/github.com/Shougo/dpp-ext-lazy,/Users/kshu/.cache/dpp/repos/github.com/Shougo/dpp-ext-installer,/Users/kshu/.cache/dpp/repos/github.com/Shougo/dpp-ext-toml,/Users/kshu/.cache/dpp/repos/github.com/Shougo/dpp-protocol-git,/Users/kshu/.cache/dpp/repos/github.com/Shougo/dpp.vim,/Users/kshu/.vim,/Applications/MacVim.app/Contents/Resources/vim/vimfiles,/Users/kshu/.cache/dpp//repos/github.com/vim-denops/denops.vim,/Users/kshu/.cache/dpp/Vim/.dpp,/Applications/MacVim.app/Contents/Resources/vim/runtime,/Applications/MacVim.app/Contents/Resources/vim/vimfiles/after,/Users/kshu/.vim/after,/Users/kshu/.cache/dpp/Vim/.dpp/after'
Contents inside ~/.cache/dpp/Vim/.dpp by find .dpp -maxdepth 1
How to reproduce the problem from neovim/Vim startup (Required!)
rm -rf ~/.cache/dpp
vim
:q
vim
:help
:echom &runtimepath
Screenshot (if possible)
Upload the log messages by :redir and :message (if errored)
LOCAL ADDITIONS by :help
LOCAL ADDITIONS: local-additions
dpp-ext-lazy.txt Lazy ext for dpp.vim
dpp-ext-installer.txt Installer ext for dpp.vim
dpp-ext-toml.txt Toml ext for dpp.vim
dpp-protocol-git.txt git protocol for dpp.vim
dpp.txt Dark powered plugin manager for Vim/neovim
denops.txt An eco-system to write Vim/Neovim plugins in Deno
denops.txt An eco-system to write Vim/Neovim plugins in Deno
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
The runtimepath stored in the state file contains runtimepaths of both an original plugin path and the cached directory (.dpp) to which the plugin was merged. In this issue, I try to manage vim-denops. By loading the state file, both of them are of course included in the loaded runtimepath, and I can see duplicated two titles of
denops.txt
at LOCAL ADDITIONS by:help
command. Thanks in advance.Expected
I expect the original plugin path, which I mean the path at which the plugin was cloned, would not be included in the runtimepath that was exported in the state file according to the document content
dpp-merge
.Environment Information
dpp.vim version (SHA1): bf6f0d77af405848eaac3517bfc3df3f5b2cb16d
denops.vim version (SHA1): 16d4bbc5c8e359ab50042f66dc5c9a2cdeabff6e
deno version(
deno -V
output): deno 1.40.2OS: macOS Ventura 13.6.3
neovim/Vim
:version
output:VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jan 4 2024 03:08:50) macOS 版 - x86_64 Compiled by GitHub Actions Huge 版 with MacVim GUI. 機能の一覧 有効(+)/無効(-) +acl +dialog_con_gui +jumplist +multi_byte +sodium +vertsplit +arabic +diff +keymap +multi_lang +sound +vim9script +autocmd +digraphs +lambda -mzscheme +spell +viminfo +autochdir +dnd +langmap +netbeans_intg +startuptime +virtualedit -autoservername -ebcdic +libcall +num64 +statusline +visual +balloon_eval +emacs_tags +linebreak +odbeditor -sun_workshop +visualextra +balloon_eval_term +eval +lispindent +packages +syntax +vreplace +browse +ex_extra +listcmds +path_extra +tag_binary +wildignore ++builtin_terms +extra_search +localmap +perl/dyn -tag_old_static +wildmenu +byte_offset -farsi +lua/dyn +persistent_undo -tag_any_white +windows +channel +file_in_path +menu +popupwin -tcl +writebackup +cindent +find_in_path +mksession +postscript +termguicolors -X11 +clientserver +float +modify_fname +printer +terminal -xattr +clipboard +folding +mouse +profile +terminfo -xfontset +cmdline_compl -footer +mouseshape +python/dyn +termresponse +xim +cmdline_hist +fork() +mouse_dec +python3/dyn-stable +textobjects -xpm +cmdline_info +fullscreen -mouse_gpm +quickfix +textprop -xsmp +comments +gettext -mouse_jsbterm +reltime +timers -xterm_clipboard +conceal -hangul_input +mouse_netterm +rightleft +title -xterm_save +cryptv +iconv +mouse_sgr +ruby/dyn +toolbar +cscope +insert_expand -mouse_sysmouse +scrollbind +transparency +cursorbind +ipv6 +mouse_urxvt +signs +user_commands +cursorshape +job +mouse_xterm +smartindent +vartabs システム vimrc: "$VIM/vimrc" ユーザー vimrc: "$HOME/.vimrc" 第2ユーザー vimrc: "~/.vim/vimrc" ユーザー exrc: "$HOME/.exrc" システム gvimrc: "$VIM/gvimrc" ユーザー gvimrc: "$HOME/.gvimrc" 第2ユーザー gvimrc: "~/.vim/gvimrc" デフォルトファイル: "$VIMRUNTIME/defaults.vim" システムメニュー: "$VIMRUNTIME/menu.vim" 省略時の $VIM: "/Applications/MacVim.app/Contents/Resources/vim" コンパイル: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X -DMACOS_X_DARWIN -g -O3 -flto -arch x86_64 -arch arm64 -I/usr/local/Cellar/libsodium/1.0.19/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SO URCE=1 -Wall -Wextra -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Werror -Wno-deprecated-declarations -Wno-error=missing- field-initializers -Wno-error=deprecated-declarations -Wno-error=unused-function リンク: clang -arch x86_64 -arch arm64 -L/usr/local/lib -flto -o Vim -lm -lncurses /usr/local/lib/libsodium.a -liconv /usr/loca l/lib/libintl.a -framework AppKit
Provide a minimal init.vim/vimrc without plugin managers (Required!)
vimrc
~/.vim/plugin/dpp.ts
~/.vim/plugin/dpp_plugin.toml
~/.cache/dpp/Vim/state.vim
after makeStateContents inside
~/.cache/dpp/Vim/.dpp
byfind .dpp -maxdepth 1
How to reproduce the problem from neovim/Vim startup (Required!)
Screenshot (if possible)
Upload the log messages by
:redir
and:message
(if errored)LOCAL ADDITIONS by
:help
:message