runtime(typeset): Correct whitespace error in :lcd command
Commit:
https://github.com/vim/vim/commit/5c496beb188989f702d94b7a1f1d024a192388a0
Author: nagbu <
m...@nagbu.net>
Date: Mon May 18 20:36:07 2026 +0000
runtime(typeset): Correct whitespace error in :lcd command
closes:
https://github.com/vim/vim/issues/20242
closes:
https://github.com/vim/vim/issues/20244
Signed-off-by: nagbu <
m...@nagbu.net>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/autoload/typeset.vim b/runtime/autoload/typeset.vim
index 3280cb4ef..11974f172 100644
--- a/runtime/autoload/typeset.vim
+++ b/runtime/autoload/typeset.vim
@@ -5,6 +5,7 @@ vim9script
# 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
# Constants and helpers {{{
const SLASH = !exists("+shellslash") || &shellslash ? '/' : '\'
@@ -62,7 +63,7 @@ def ProcessOutput(qfid: number, wd: string, efm: string, ch: channel, msg: strin
endif
# Make sure the working directory is correct
- silent execute "lcd" .. fnameescape(wd)
+ silent execute "lcd" fnameescape(wd)
setqflist([], 'a', {'id': qfid, 'lines': [msg], 'efm': efm})
silent lcd -
enddef