-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"pack/{}/start" package is clobbered by netrw #137
Comments
Remove Spending time figuring out how to support lazy-load workarounds in plugin managers makes no sense. The only reason plugin managers have that feature is to work around plugins that are not properly autloaded. |
Thank you for your really swift answer. I didn't realize lazy-load was already supported. |
Hi @justinmk , I'm getting the same error on my end. Neovim 0.3.4, no package manager (just I was able to reproduce it consistently. It seems to be tied to nvim . It opens nvim in
If I navigate to a file in that directory, open it, and hit Couple (hopefully) quick questions:
Thanks for any help you can give, and for the great plugin! Alex |
|
Seems like doing |
Thanks for the fast response! Good to know about the buffer local mappings. So if I understand correctly, this can currently be fixed by:
" somewhere in .vimrc / init.vim
let g:loaded_netrwPlugin = 1 @justinmk To clarify (and for my own curiosity) -- do you suspect this issue to be an ordering thing that would be fixed in this plugin? or that would be fixed on the (Neo)Vim side of things? |
I don't know. |
Sorry to dig up an old issue, but I am seeing the same since moving to packer.nvim (which uses packages).
If I mark dirvish as optional and |
@zegervdv what nvim version? Latest nvim master has changed behavior of package loading. Not sure if it affects anything here but good to know for reference.. |
I am on a nightly build of Saturday, but I had the issue since switching to packer a while back (before 0.5.0) release. I only now got annoyed enough about it to look into it deeper :) |
I don't see this issue because I just disable netrw. However netrw is still needed for use'https://github.com/justinmk/vim-dirvish.git'
-- Disable netrw, but autoload it for `gx`.
vim.cmd([[
let g:loaded_netrwPlugin = 0
nnoremap <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(expand((exists("g:netrw_gx")? g:netrw_gx : '<cfile>')),netrw#CheckIfRemote())<CR>
nmap gx <Plug>NetrwBrowseX
]]) |
I don't see this issue anymore even if I enable netrw. The original issue here is a duplicate of #180 so closing. |
I have been cleaning up my Neovim config and setting up vim-plug to load plugins only when needed.
I get the same error by just running
:Dirvish
.I tried this configuration:
But when I invoke
-
I get an error and plain netrw opens.Software:
The text was updated successfully, but these errors were encountered: