Problem: LuaLS infers priority as integer from the = 0 initialiser but tonumber returns number?, causing a cast-local-type diagnostic. Solution: inline --[[@as integer]] cast after the tonumber call. |
||
|---|---|---|
| .. | ||
| sync | ||
| buffer.lua | ||
| config.lua | ||
| diff.lua | ||
| health.lua | ||
| init.lua | ||
| parse.lua | ||
| store.lua | ||
| views.lua | ||