neovim/src
zeertzjq 8a0b203875 vim-patch:9.1.0921: popupmenu logic is a bit convoluted
Problem:  popupmenu logic is a bit convoluted
Solution: slightly refactor logic and use MIN/MAX() macros to simplify
          (glepnir)

Define the MAX/MIN macros. Since we support some older platforms, C
compilers may not be as smart. This helps reduce unnecessary if
statements and redundant ternary expressions. Pre-calculate some
expressions by defining variables. Remove unnecessary parentheses.
Adjust certain lines to avoid exceeding 80 columns.

closes: vim/vim#16205

c942f84aad

Co-authored-by: glepnir <glephunter@gmail.com>
2024-12-13 20:01:26 +08:00
..
cjson feat(stdlib): vim.json.encode(...,{escape_slash:boolean}) #30561 2024-12-06 12:43:41 -08:00
klib refactor(event): change last use of klist to kvec 2024-09-28 20:23:22 +02:00
man docs: misc (#28837) 2024-06-07 10:55:14 +08:00
mpack fix: buffer overrun in lmpack_session_receive 2024-02-06 01:07:54 +02:00
nvim vim-patch:9.1.0921: popupmenu logic is a bit convoluted 2024-12-13 20:01:26 +08:00
vterm test(vterm): move test functions into vterm_test fixture 2024-12-02 21:49:14 -05:00
xdiff refactor: the long goodbye 2023-11-05 20:19:06 +01:00
.valgrind.supp refactor: rename "process" => "proc" #30387 2024-09-15 12:20:58 -07:00
bit.c
bit.h
clint.py build(clint): make NOLINT work with header checks (#31281) 2024-11-20 22:51:58 +08:00
coverity-model.c refactor(treesitter): handle coverity warnings better 2024-03-20 12:22:54 +00:00
nlua0.c
uncrustify.cfg build(deps): bump uncrustify to uncrustify-0.80.1 2024-11-17 14:09:26 +01:00