Mercurial > vim
diff src/cmdhist.c @ 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 | 1629cc65d78d |
children | ffeda71f42d7 |