mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
docs(starting): mention init.lua in paths and remove repetition (#14883)
This commit is contained in:
parent
5a24284b8d
commit
0d7e33bc13
@ -416,11 +416,11 @@ accordingly. Vim proceeds in this order:
|
|||||||
the same time. Each line in a "init.vim" is executed as an Ex command
|
the same time. Each line in a "init.vim" is executed as an Ex command
|
||||||
line. See also |vimrc-intro| and |base-directories|.
|
line. See also |vimrc-intro| and |base-directories|.
|
||||||
|
|
||||||
The Nvim config file is "init.vim", located at:
|
The config file is located at:
|
||||||
Unix ~/.config/nvim/init.vim
|
Unix ~/.config/nvim/init.vim (or init.lua)
|
||||||
Windows ~/AppData/Local/nvim/init.vim
|
Windows ~/AppData/Local/nvim/init.vim (or init.lua)
|
||||||
or if |$XDG_CONFIG_HOME| is defined:
|
or if |$XDG_CONFIG_HOME| is defined:
|
||||||
$XDG_CONFIG_HOME/nvim/init.vim
|
$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 5. are skipped. $MYVIMRC is not set.
|
||||||
|
Loading…
Reference in New Issue
Block a user