]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(typeset): Correct whitespace error in :lcd command
authornagbu <me@nagbu.net>
Mon, 18 May 2026 20:36:07 +0000 (20:36 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 18 May 2026 20:36:07 +0000 (20:36 +0000)
closes: #20242
closes: #20244

Signed-off-by: nagbu <me@nagbu.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/typeset.vim

index 3280cb4efdaafebb89366c0ba29c923c050aeed0..11974f1721b86cb8fe2d7284822a95a024106574 100644 (file)
@@ -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