mirror of
https://github.com/neovim/neovim
synced 2025-07-18 10:11:50 +00:00
@ -90,10 +90,11 @@ argument.
|
|||||||
See |info-message| about capturing the text.
|
See |info-message| about capturing the text.
|
||||||
|
|
||||||
*--clean*
|
*--clean*
|
||||||
--clean Equivalent to "-u NONE -i NONE":
|
--clean Mimics a fresh install of Nvim:
|
||||||
- Skips initializations from files and environment variables.
|
- Skips initializations from files and environment variables.
|
||||||
- No 'shada' file is read or written.
|
- No 'shada' file is read or written.
|
||||||
- Excludes user directories from 'runtimepath'
|
- Excludes user directories from 'runtimepath'
|
||||||
|
- Loads builtin plugins, unlike "-u NONE -i NONE".
|
||||||
|
|
||||||
*--noplugin*
|
*--noplugin*
|
||||||
--noplugin Skip loading plugins. Resets the 'loadplugins' option.
|
--noplugin Skip loading plugins. Resets the 'loadplugins' option.
|
||||||
|
@ -345,7 +345,8 @@ int main(int argc, char **argv)
|
|||||||
// Reset 'loadplugins' for "-u NONE" before "--cmd" arguments.
|
// Reset 'loadplugins' for "-u NONE" before "--cmd" arguments.
|
||||||
// Allows for setting 'loadplugins' there.
|
// Allows for setting 'loadplugins' there.
|
||||||
if (params.use_vimrc != NULL && strequal(params.use_vimrc, "NONE")) {
|
if (params.use_vimrc != NULL && strequal(params.use_vimrc, "NONE")) {
|
||||||
p_lpl = false;
|
// When using --clean we still want to load plugins
|
||||||
|
p_lpl = params.clean;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Execute --cmd arguments.
|
// Execute --cmd arguments.
|
||||||
|
Reference in New Issue
Block a user