diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-09-15 12:20:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-15 12:20:58 -0700 |
commit | 057d27a9d6ef0bb2ee5130704c45b9e9197e7c36 (patch) | |
tree | c08b0d80b543cc18dd1dec97dde9885b8a50b375 /src/nvim/main.c | |
parent | 5792546777332361a9ac49107e46149c703de90e (diff) | |
download | rneovim-057d27a9d6ef0bb2ee5130704c45b9e9197e7c36.tar.gz rneovim-057d27a9d6ef0bb2ee5130704c45b9e9197e7c36.tar.bz2 rneovim-057d27a9d6ef0bb2ee5130704c45b9e9197e7c36.zip |
refactor: rename "process" => "proc" #30387
Problem:
- "process" is often used as a verb (`multiqueue_process_events`), which
is ambiguous for cases where it's used as a topic.
- The documented naming convention for processes is "proc".
- `:help dev-name-common`
- Shorter is better, when it doesn't harm readability or
discoverability.
Solution:
Rename "process" => "proc" in all C symbols and module names.
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index b28667346b..0b49ea13d7 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -43,7 +43,7 @@ #include "nvim/eval/userfunc.h" #include "nvim/event/loop.h" #include "nvim/event/multiqueue.h" -#include "nvim/event/process.h" +#include "nvim/event/proc.h" #include "nvim/event/stream.h" #include "nvim/ex_cmds.h" #include "nvim/ex_docmd.h" @@ -174,7 +174,7 @@ bool event_teardown(void) loop_poll_events(&main_loop, 0); // Drain thread_events, fast_events. input_stop(); channel_teardown(); - process_teardown(&main_loop); + proc_teardown(&main_loop); timer_teardown(); server_teardown(); signal_teardown(); @@ -2207,7 +2207,7 @@ static void usage(void) printf(_(" --headless Don't start a user interface\n")); printf(_(" --listen <address> Serve RPC API from this address\n")); printf(_(" --remote[-subcommand] Execute commands remotely on a server\n")); - printf(_(" --server <address> Specify RPC server to send commands to\n")); + printf(_(" --server <address> Connect to this Nvim server\n")); printf(_(" --startuptime <file> Write startup timing messages to <file>\n")); printf(_("\nSee \":help startup-options\" for all options.\n")); } |