aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/secure.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-11 09:12:43 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-02-11 09:33:42 +0800
commit7f3157f3f654dcad4bb1e1f329b15db0458644ec (patch)
tree6098fd9a434c3184b2a52976e672e32642b9c235 /runtime/lua/vim/secure.lua
parentb7020e263e693dcad7de55f4175171f468ee44eb (diff)
downloadrneovim-7f3157f3f654dcad4bb1e1f329b15db0458644ec.tar.gz
rneovim-7f3157f3f654dcad4bb1e1f329b15db0458644ec.tar.bz2
rneovim-7f3157f3f654dcad4bb1e1f329b15db0458644ec.zip
vim-patch:9.1.1101: insexpand.c hard to read
Problem: insexpand.c hard to read Solution: refactor slightly to make it better readable (glepnir) Problem: - Complex while loops with nested conditions - Redundant if branches - Hard to understand and maintain Solution: - Restructure using while(true) with clear break conditions - Using ternary to replace some if conditions - Add descriptive comments for each step closes: vim/vim#16600 https://github.com/vim/vim/commit/40891bac5d4760e97ff59cd6264f6f00437536e8 Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/lua/vim/secure.lua')
0 files changed, 0 insertions, 0 deletions