mirror of
https://github.com/neovim/neovim.git
synced 2025-12-24 07:09:05 +00:00
docs #22363
Co-authored by: zeertzjq <zeertzjq@outlook.com> Co-authored by: Steven Todd McIntyre II <114119064+stmii@users.noreply.github.com> Co-authored by: nobe4 <nobe4@users.noreply.github.com> - docs: mention --luadev-mod to run with lua runtime files When changing a lua file in the ./runtime folder, a new contributor might expect changes to be applied to the built Neovim binary.
This commit is contained in:
@@ -193,7 +193,7 @@ is
|
||||
do not read or write a ShaDa file.
|
||||
.Ic ":help shada"
|
||||
.It Fl -noplugin
|
||||
Skip loading plugins.
|
||||
Skip loading plugins (by setting the 'noloadplugins' option).
|
||||
Implied by
|
||||
.Cm -u NONE .
|
||||
.It Fl -clean
|
||||
|
||||
@@ -57,6 +57,8 @@ void nvim_win_set_buf(Window window, Buffer buffer, Error *err)
|
||||
/// (different windows showing the same buffer have independent cursor
|
||||
/// positions). |api-indexing|
|
||||
///
|
||||
/// @see |getcurpos()|
|
||||
///
|
||||
/// @param window Window handle, or 0 for current window
|
||||
/// @param[out] err Error details, if any
|
||||
/// @return (row, col) tuple
|
||||
|
||||
@@ -2185,43 +2185,33 @@ static void usage(void)
|
||||
signal_stop(); // kill us with CTRL-C here, if you like
|
||||
|
||||
os_msg(_("Usage:\n"));
|
||||
os_msg(_(" nvim [options] [file ...] Edit file(s)\n"));
|
||||
os_msg(_(" nvim [options] -t <tag> Edit file where tag is defined\n"));
|
||||
os_msg(_(" nvim [options] -q [errorfile] Edit file with first error\n"));
|
||||
os_msg(_(" nvim [options] [file ...]\n"));
|
||||
os_msg(_("\nOptions:\n"));
|
||||
os_msg(_(" -- Only file names after this\n"));
|
||||
os_msg(_(" + Start at end of file\n"));
|
||||
os_msg(_(" --cmd <cmd> Execute <cmd> before any config\n"));
|
||||
os_msg(_(" +<cmd>, -c <cmd> Execute <cmd> after config and first file\n"));
|
||||
os_msg(_(" -l <script> [args...] Execute Lua <script> (with optional args)\n"));
|
||||
os_msg(_(" -S <session> Source <session> after loading the first file\n"));
|
||||
os_msg(_(" -s <scriptin> Read Normal mode commands from <scriptin>\n"));
|
||||
os_msg(_(" -u <config> Use this config file\n"));
|
||||
os_msg("\n");
|
||||
os_msg(_(" -b Binary mode\n"));
|
||||
os_msg(_(" -d Diff mode\n"));
|
||||
os_msg(_(" -e, -E Ex mode\n"));
|
||||
os_msg(_(" -es, -Es Silent (batch) mode\n"));
|
||||
os_msg(_(" -h, --help Print this help message\n"));
|
||||
os_msg(_(" -i <shada> Use this shada file\n"));
|
||||
os_msg(_(" -m Modifications (writing files) not allowed\n"));
|
||||
os_msg(_(" -M Modifications in text not allowed\n"));
|
||||
os_msg(_(" -n No swap file, use memory only\n"));
|
||||
os_msg(_(" -o[N] Open N windows (default: one per file)\n"));
|
||||
os_msg(_(" -O[N] Open N vertical windows (default: one per file)\n"));
|
||||
os_msg(_(" -p[N] Open N tab pages (default: one per file)\n"));
|
||||
os_msg(_(" -r, -L List swap files\n"));
|
||||
os_msg(_(" -r <file> Recover edit state for this file\n"));
|
||||
os_msg(_(" -R Read-only mode\n"));
|
||||
os_msg(_(" -S <session> Source <session> after loading the first file\n"));
|
||||
os_msg(_(" -s <scriptin> Read Normal mode commands from <scriptin>\n"));
|
||||
os_msg(_(" -u <config> Use this config file\n"));
|
||||
os_msg(_(" -R Read-only (view) mode\n"));
|
||||
os_msg(_(" -v, --version Print version information\n"));
|
||||
os_msg(_(" -V[N][file] Verbose [level][file]\n"));
|
||||
os_msg("\n");
|
||||
os_msg(_(" -- Only file names after this\n"));
|
||||
os_msg(_(" --api-info Write msgpack-encoded API metadata to stdout\n"));
|
||||
os_msg(_(" --clean \"Factory defaults\" (skip user config and plugins, shada)\n"));
|
||||
os_msg(_(" --embed Use stdin/stdout as a msgpack-rpc channel\n"));
|
||||
os_msg(_(" --headless Don't start a user interface\n"));
|
||||
os_msg(_(" --listen <address> Serve RPC API from this address\n"));
|
||||
os_msg(_(" --noplugin Don't load plugins\n"));
|
||||
os_msg(_(" --remote[-subcommand] Execute commands remotely on a server\n"));
|
||||
os_msg(_(" --server <address> Specify RPC server to send commands to\n"));
|
||||
os_msg(_(" --startuptime <file> Write startup timing messages to <file>\n"));
|
||||
|
||||
Reference in New Issue
Block a user