mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00

The version check introduced with commit edd4ac3e8 has a logic error.
Also it should only trigger when trying to use the netrw plugin and not
always.
fixes: vim/vim#16541
6d6ec2ee05
Co-authored-by: Christian Brabandt <cb@256bit.org>
10 lines
152 B
VimL
10 lines
152 B
VimL
" Load the netrw package.
|
|
|
|
if &cp || exists("g:loaded_netrw") || exists("g:loaded_netrwPlugin")
|
|
finish
|
|
endif
|
|
|
|
packadd netrw
|
|
|
|
" vim:ts=8 sts=2 sw=2 et
|