Merge pull request #26186 from neovim/backport-26185-to-release-0.9

[Backport release-0.9] docs(starting.txt): correct step number
This commit is contained in:
zeertzjq 2023-11-24 07:29:39 +08:00 committed by GitHub
commit 4065e2e3bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,13 +458,13 @@ accordingly, proceeding as follows:
|$XDG_CONFIG_HOME| $XDG_CONFIG_HOME/nvim/init.vim (or init.lua) |$XDG_CONFIG_HOME| $XDG_CONFIG_HOME/nvim/init.vim (or init.lua)
If Nvim was started with "-u {file}" then {file} is used as the config If Nvim was started with "-u {file}" then {file} is used as the config
and all initializations until 5. are skipped. $MYVIMRC is not set. and all initializations until 8. are skipped. $MYVIMRC is not set.
"nvim -u NORC" can be used to skip these initializations without "nvim -u NORC" can be used to skip these initializations without
reading a file. "nvim -u NONE" also skips plugins and syntax reading a file. "nvim -u NONE" also skips plugins and syntax
highlighting. |-u| highlighting. |-u|
If Nvim was started with |-es| all initializations until 5. are If Nvim was started with |-es| or |-Es| or |-l| all initializations until 8.
skipped. are skipped.
*system-vimrc* *sysinit.vim* *system-vimrc* *sysinit.vim*
a. The system vimrc file is read for initializations. If a. The system vimrc file is read for initializations. If
nvim/sysinit.vim file exists in one of $XDG_CONFIG_DIRS, it will be nvim/sysinit.vim file exists in one of $XDG_CONFIG_DIRS, it will be