runtime(helpcurwin): fix E121 error
Commit:
https://github.com/vim/vim/commit/754fc64d2ea5c467d512ad8170514f5f2ba63acc
Author: Peter Kenny <[email protected]>
Date: Wed Jan 28 21:45:50 2026 +0000
runtime(helpcurwin): fix E121 error
closes: https://github.com/vim/vim/issues/19270
Signed-off-by: Peter Kenny <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim
b/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim
index 97631d348..e9960954a 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 <https://github.com/vim/vim>
-# 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(<q-args>)
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vlDZz-0019SI-7t%40256bit.org.