aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2018-12-16 13:20:54 -0500
committerGitHub <noreply@github.com>2018-12-16 13:20:54 -0500
commit7a8dadbedb0ba15e67b198774bb87caad1e22828 (patch)
tree9748153d46706a868a1ce39a4912e79b1643c8ce /runtime
parentb48efd9ba7bf1d317dcf231e3e595988537a5cf9 (diff)
parent314f6ea3678c09f9824242a10abbe4a2fb2ccff3 (diff)
downloadrneovim-7a8dadbedb0ba15e67b198774bb87caad1e22828.tar.gz
rneovim-7a8dadbedb0ba15e67b198774bb87caad1e22828.tar.bz2
rneovim-7a8dadbedb0ba15e67b198774bb87caad1e22828.zip
Merge pull request #9077 from jamessan/xdg-sysinit
startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it exists
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/starting.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 450d2967b4..82e73035d8 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -436,10 +436,11 @@ accordingly. Vim proceeds in this order:
If Vim was started in Ex mode with the "-s" argument, all following
initializations until 4. are skipped. Only the "-u" option is
interpreted.
- *system-vimrc*
- a. For Unix, MS-Windows, and Macintosh, the system vimrc file is read for
- initializations. The path of this file is shown with the
- ":version" command. Mostly it's "$VIM/vimrc".
+ *system-vimrc* *sysinit.vim*
+ a. The system vimrc file is read for initializations. If
+ nvim/sysinit.vim file exists in one of $XDG_CONFIG_DIRS, it will be
+ used. Otherwise, the system vimrc file is used. The path of this file
+ is shown with the ":version" command. Mostly it's "$VIM/sysinit.vim".
*VIMINIT* *EXINIT* *$MYVIMRC*
b. Four places are searched for initializations. The first that exists