mirror of
https://github.com/neovim/neovim.git
synced 2026-05-23 21:30:11 +00:00
Problem: When `v[field]` returns `false`, the ternary operator will make it return `nil`. Solution: Return `v[field]` once `v` is not `nil`.
Problem: When `v[field]` returns `false`, the ternary operator will make it return `nil`. Solution: Return `v[field]` once `v` is not `nil`.