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/clint.py | |
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/clint.py')
-rwxr-xr-x | src/clint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clint.py b/src/clint.py index cc144543a0..28bdc66ce8 100755 --- a/src/clint.py +++ b/src/clint.py @@ -848,7 +848,7 @@ def CheckIncludes(filename, lines, error): or filename.endswith('.in.h') or FileInfo(filename).RelativePath() in { 'func_attr.h', - 'os/pty_process.h', + 'os/pty_proc.h', }): return @@ -869,7 +869,7 @@ def CheckIncludes(filename, lines, error): "src/nvim/msgpack_rpc/unpacker.h", "src/nvim/option.h", "src/nvim/os/pty_conpty_win.h", - "src/nvim/os/pty_process_win.h", + "src/nvim/os/pty_proc_win.h", ] skip_headers = [ |