mirror of
https://github.com/vim/vim
synced 2025-03-15 06:17:51 +01: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: #16541
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 lines
152 B
VimL
9 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
|