mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
refactor: convert macros to all-caps (#17895)
Closes https://github.com/neovim/neovim/issues/6297
This commit is contained in:
@@ -108,9 +108,9 @@ static inline int op_reg_index(const int regname)
|
||||
if (ascii_isdigit(regname)) {
|
||||
return regname - '0';
|
||||
} else if (ASCII_ISLOWER(regname)) {
|
||||
return CharOrdLow(regname) + 10;
|
||||
return CHAR_ORD_LOW(regname) + 10;
|
||||
} else if (ASCII_ISUPPER(regname)) {
|
||||
return CharOrdUp(regname) + 10;
|
||||
return CHAR_ORD_UP(regname) + 10;
|
||||
} else if (regname == '-') {
|
||||
return DELETION_REGISTER;
|
||||
} else if (regname == '*') {
|
||||
|
Reference in New Issue
Block a user