Commit: runtime(helpcurwin): fix E121 error

0 views
Skip to first unread message

Christian Brabandt

unread,
Jan 28, 2026, 5:01:24 PMJan 28
to vim...@googlegroups.com
runtime(helpcurwin): fix E121 error

Commit: https://github.com/vim/vim/commit/754fc64d2ea5c467d512ad8170514f5f2ba63acc
Author: Peter Kenny <githu...@k1w1.cyou>
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 <githu...@k1w1.cyou>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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>)

Reply all
Reply to author
Forward
0 new messages