Commit 226cd1c
committed
Fix error when "hunk" does not exist in sy
Error
```console
Error detected while processing function sy#util#refresh_windows[9]..sy#start[51]..sy#stop[3]..sy#sign#remove_all_signs:
line 3:
E716: Key not present in Dictionary: hunks
```
Solution
Defensive programming. Ensure to have values for each required variables
in `sy#sign#remove_all_signs`.1 parent c3d450e commit 226cd1c
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments