]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1159: $MYVIMDIR may not always be set v9.1.1159
authorChristian Brabandt <cb@256bit.org>
Fri, 28 Feb 2025 16:34:46 +0000 (17:34 +0100)
committerChristian Brabandt <cb@256bit.org>
Fri, 28 Feb 2025 16:34:46 +0000 (17:34 +0100)
commit3e2affc324034085a98356003b226bd4a6f6c1ad
treee6c4b53f2c0460dd52a3d687dc8f75903b7936e5
parent5e8b2268e180cbf5079ea6dbe9c8fd29c3e3133c
patch 9.1.1159: $MYVIMDIR may not always be set

Problem:  $MYVIMDIR may not always be set (after 9.1.0718)
          (sandwm)
Solution: always set $MYVIMDIR to first item in runtimepath
          (except when using --clean), update it when changing &rtp

fixes: #16609
closes: #16709

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/starting.txt
src/option.c
src/optionstr.c
src/testdir/test_xdg.vim
src/version.c