Commit: runtime(context,typeset): Correct whitespace error in Log()'s 'edit' command

1 view
Skip to first unread message

Christian Brabandt

unread,
May 20, 2026, 2:30:14 PM (14 hours ago) May 20
to vim...@googlegroups.com
runtime(context,typeset): Correct whitespace error in Log()'s 'edit' command

Commit: https://github.com/vim/vim/commit/146f46e26446f75a25457d8b00065f7057352d8e
Author: Lifepillar <lifep...@lifepillar.me>
Date: Wed May 20 18:20:04 2026 +0000

runtime(context,typeset): Correct whitespace error in Log()'s 'edit' command

Also drop Last Change headers as this commit comes from the plugin's
maintainer.

related: #20242
related: #20244
closes: #20263

Signed-off-by: Lifepillar <lifep...@lifepillar.me>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/autoload/context.vim b/runtime/autoload/context.vim
index 6b013f2a7..8b65bb9a6 100644
--- a/runtime/autoload/context.vim
+++ b/runtime/autoload/context.vim
@@ -3,9 +3,7 @@ vim9script
# Language: ConTeXt typesetting engine
# Maintainer: Nicola Vitacolonna <nvitac...@gmail.com>
# Former Maintainers: Nikolai Weibull <n...@bitwi.se>
-# Latest Revision: 2026 Feb 03
-# Last Change:
-# 2026 Mar 30 by Vim project: Use fnameescape for the Log command
+# Latest Revision: 2026 May 20

# Typesetting {{{
import autoload './typeset.vim'
@@ -35,7 +33,7 @@ export def Log(bufname: string)
var logpath = typeset.LogPath(bufname)

if filereadable(logpath)
- execute 'edit' .. fnameescape(typeset.LogPath(bufname))
+ execute 'edit' fnameescape(typeset.LogPath(bufname))
return
endif

diff --git a/runtime/autoload/typeset.vim b/runtime/autoload/typeset.vim
index 11974f172..0cb6149f5 100644
--- a/runtime/autoload/typeset.vim
+++ b/runtime/autoload/typeset.vim
@@ -2,10 +2,7 @@ vim9script

# Language: Generic TeX typesetting engine
# Maintainer: Nicola Vitacolonna <nvitac...@gmail.com>
-# Latest Revision: 2026 Feb 19
-# Last Change:
-# 2026 Mar 30 by Vim project: Use fnameescape for the ProcessOutput command
-# 2026 May 19 by Vim project: missing space in :lcd command #20244
+# Latest Revision: 2026 May 20

# Constants and helpers {{{
const SLASH = !exists("+shellslash") || &shellslash ? '/' : '\'
Reply all
Reply to author
Forward
0 new messages