Mercurial > vim
view src/msvc2019.bat @ 34799:f9b510d3ed32 v9.1.0272
patch 9.1.0272: autocmd may change cwd after :tcd and :lcd
Commit: https://github.com/vim/vim/commit/9d956ee8eab64a0d412b045305fde5bc03d95d4a
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Apr 7 18:16:10 2024 +0200
patch 9.1.0272: autocmd may change cwd after :tcd and :lcd
Problem: Autocommand may change currect directory after :tcd and :lcd.
Solution: Also clear tp_localdir and w_localdir when using aucmd_win.
(zeertzjq)
closes: #14435
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Apr 2024 18:30:03 +0200 |
parents | 54dda39c5bb3 |
children |
line wrap: on
line source
@echo off rem To be used on MS-Windows for Visual C++ 2019. rem See INSTALLpc.txt for information. rem rem Usage: rem For x86 builds run this with "x86" option: rem msvc2019 x86 rem For x64 builds run this with "x64" option: rem msvc2019 x64 set "VSVEROPT=-version [16.0^,17.0^)" call "%~dp0msvc-latest.bat" %* set VSVEROPT=