vim/runtime/plugin/netrwPlugin.vim
Christian Brabandt 6d6ec2ee05
runtime(netrw): correct wrong version check
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>
2025-01-30 11:00:35 +01:00

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