fix: Respect cmdheight and laststatus

This commit is contained in:
TJ DeVries
2020-10-08 12:53:42 -04:00
parent 8736ea5f6a
commit 9d894f8229
3 changed files with 22 additions and 10 deletions

View File

@@ -98,7 +98,7 @@ local _resolve_map = {
end,
-- Percentages
[function(val) return type(val) == 'number' and val > 0 and val < 1 end] = function(selector, val)
[function(val) return type(val) == 'number' and val >= 0 and val < 1 end] = function(selector, val)
return function(...)
return math.floor(val * select(selector, ...))
end