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/eval.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/eval.c')
-rw-r--r-- | src/nvim/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index aa4f42bd68..d2a3584353 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -32,7 +32,7 @@ #include "nvim/eval/vars.h" #include "nvim/event/loop.h" #include "nvim/event/multiqueue.h" -#include "nvim/event/process.h" +#include "nvim/event/proc.h" #include "nvim/event/time.h" #include "nvim/ex_cmds.h" #include "nvim/ex_docmd.h" @@ -8506,7 +8506,7 @@ Channel *find_job(uint64_t id, bool show_error) { Channel *data = find_channel(id); if (!data || data->streamtype != kChannelStreamProc - || process_is_stopped(&data->stream.proc)) { + || proc_is_stopped(&data->stream.proc)) { if (show_error) { if (data && data->streamtype != kChannelStreamProc) { emsg(_(e_invchanjob)); |