diff options
author | Maxim Kim <habamax@haba-debian.habamax> | 2024-04-17 22:29:06 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-17 22:30:50 +0200 |
commit | a34ba821076476a68e0e579723d68e896f771ba6 (patch) | |
tree | 92ace74b2c4b5cf8be5bbb762225e3485a0e7817 /runtime/doc/gui.txt | |
parent | e20fa59903525e15cecd680a2f32ece8a5d1bc0c (diff) |
patch 9.1.0345: Problem: gvimrc not sourced from XDG_CONFIG_HOMEv9.1.0345
Problem: gvimrc not sourced from XDG_CONFIG_HOME (after v9.1.0327)
Solution: Also try to source from ~/.config/vim/gvimrc and
$XDG_CONFIG_HOME/vim/gvimrc (Maxim Kim)
fixes: #14567
closes: #14568
Signed-off-by: Maxim Kim <habamax@haba-debian.habamax>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/gui.txt')
-rw-r--r-- | runtime/doc/gui.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt index 6e08752817..3fda6e1ca9 100644 --- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -1,4 +1,4 @@ -*gui.txt* For Vim version 9.1. Last change: 2023 Apr 29 +*gui.txt* For Vim version 9.1. Last change: 2024 Apr 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -70,6 +70,8 @@ When the GUI starts up initializations are carried out, in this order: - For Win32, $HOME is set by Vim if needed, see |$HOME-windows|. - When a "_gvimrc" file is not found, ".gvimrc" is tried too. And vice versa. + - On Unix, if "~/.config/vim/gvimrc" or "$XDG_CONFIG_HOME/vim/gvimrc" + exists, it is sourced. You can check this with ":version". The name of the first file found is stored in $MYGVIMRC, unless it was already set. - If the 'exrc' option is set (which is NOT the default) the file ./.gvimrc |