Commit 343891a
committed
fix: stop window vars from throwing tantrums
Turns out nvim_win_get_var was a drama queen, throwing exceptions
whenever it couldn't find its precious variable - like a toddler having
a meltdown when they can't find their favorite toy.
Switched to vim.w, the more chill cousin who just returns nil and goes
about their day when something's missing. Now our code won't have an
existential crisis just because a directory hasn't changed.
No more exception-al behavior, just peaceful, quiet coding.1 parent 7ab495e commit 343891a
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
1334 | | - | |
| 1334 | + | |
1335 | 1335 | | |
1336 | 1336 | | |
1337 | 1337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments