diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2024-01-27 08:26:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 08:26:01 -0600 |
commit | 5ca330859cf2392badde8108693d398a30e08243 (patch) | |
tree | 602b57ed1c5b36784516d655be61421292101a34 /src/nvim/lua/executor.c | |
parent | e35ae6fbc2ef47a7be1a787031072ba911f7e918 (diff) | |
download | rneovim-5ca330859cf2392badde8108693d398a30e08243.tar.gz rneovim-5ca330859cf2392badde8108693d398a30e08243.tar.bz2 rneovim-5ca330859cf2392badde8108693d398a30e08243.zip |
fix(decor): check decor kind before accessing union field (#27205)
The data.sh.url field is valid only when item.kind is
kDecorKindHighlight. The `if` block just before this line already does
that check (as well as checking `active`) so move the access of
`data.sh.url` into that block.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions