diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-03 07:45:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 07:45:37 +0800 |
commit | bd8550ddca9e46dba3f867430b9495b51dde54f0 (patch) | |
tree | 19e30355ca39acf53c4a40dc2a9c6002379ec270 /src/nlua0.c | |
parent | 1101cfeb349453bc7220e68695bf60a0f96f3069 (diff) | |
download | rneovim-bd8550ddca9e46dba3f867430b9495b51dde54f0.tar.gz rneovim-bd8550ddca9e46dba3f867430b9495b51dde54f0.tar.bz2 rneovim-bd8550ddca9e46dba3f867430b9495b51dde54f0.zip |
vim-patch:9.0.1973: Clean up cmdline option completion code (#25477)
Problem: Clean up cmdline option completion code
Solution: Fix various minor problems
- Fix manual array size calculations to just use `ARRAY_LENGTH()`.
- Fix unintentional typo in comments due to copy-paste error.
- Fix assert_equal() usages to pass the expected value to first
parameter instead of 2nd one to avoid confusion.
- Fix signed vs unsigned warnings
- Correct misplaced comments about set_op_T and set_prefix_T
and fix a typo in another comment
closes: vim/vim#13249
closes: vim/vim#13237
https://github.com/vim/vim/commit/6d113472601fa6f3a444a95ef7b11d4309215117
N/A patch:
vim-patch:9.0.1976: style: space before tab in optionstr.c
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat (limited to 'src/nlua0.c')
0 files changed, 0 insertions, 0 deletions