diff options
| author | chmnchiang <chmnchiang@gmail.com> | 2022-08-01 09:13:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-01 18:13:06 +0200 |
| commit | 75a5e5065376d9103fc4bafc3ae6327304cee6e9 (patch) | |
| tree | 7ddef316b2d408702281234387d5f58cb74c0aa0 /scripts/minimal_init.vim | |
| parent | 2e05e63cdfc3532b52a035ed13192560af45315d (diff) | |
fix(resolve): Check val not nil in resolve funcs (#2097)
We did not check `val ~= nil` in the resolve functions, so config like
`{ nil, max = 30 }` will throw a nil error. Also, if the config is `{
padding = _ }`, the logic relies on the function handling the padding is
iterated before the one handling min/max in the map, which is not always
guaranteed.
Fix the bug by adding nil check in the function handling min/max. Close
Diffstat (limited to 'scripts/minimal_init.vim')
0 files changed, 0 insertions, 0 deletions
