diff --git a/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim b/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim index 97631d348f..e9960954a3 100644 --- a/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim +++ b/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim @@ -3,15 +3,9 @@ vim9script # Open Vim help on {subject} in the current window (rather than a new split) # # Maintainer: The Vim Project -# Last change: 2025 Dec 02 +# Last change: 2026 Jan 29 -# Exit when the helpcurwin plugin is loaded already -if exists('g:loaded_helpcurwin') - finish -endif -g:loaded_helpcurwin = true - -import autoload 'helpcurwin.vim' +import autoload '../autoload/helpcurwin.vim' command -bar -nargs=? -complete=help HelpCurwin helpcurwin.Open()