diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-04 06:42:47 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-02-04 06:46:09 +0800 |
commit | 60701f4fff8a45956f74df429b4361447ffe7f3d (patch) | |
tree | 0b4ffbf2ce66a680c55fc1d69cc4560d9300b279 /runtime/lua/vim/uri.lua | |
parent | c559ab0ae6bebd565862dd28b39947a07766846d (diff) | |
download | rneovim-60701f4fff8a45956f74df429b4361447ffe7f3d.tar.gz rneovim-60701f4fff8a45956f74df429b4361447ffe7f3d.tar.bz2 rneovim-60701f4fff8a45956f74df429b4361447ffe7f3d.zip |
vim-patch:9.1.0073: Looping over modifier_keys_table unnecessarily
Problem: Looping over modifier_keys_table[] unnecessarily with only
MOD_MASK_ALT or MOD_MASK_CMD, as modifier_keys_table[] only
contains MOD_MASK_SHIFT and MOD_MASK_CTRL, and the loop won't
do anything.
Solution: Remove MOD_MASK_ALT and MOD_MASK_CMD from the condition.
(zeertzjq)
closes: vim/vim#13963
https://github.com/vim/vim/commit/0c989e4a3ae50085aa8c6bed5d6701760191bc1d
Diffstat (limited to 'runtime/lua/vim/uri.lua')
0 files changed, 0 insertions, 0 deletions