feat: Allow setting line numbers / relative numbers

Closes #31
This commit is contained in:
simrat39
2021-06-22 19:59:49 -07:00
parent c6318d9279
commit a100b51b23
4 changed files with 24 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ local function get_offset()
local width = 53
local height = 0
if config.has_numbers() then
width = width + 4;
end
if config.options.position == 'right' then
width = 0 - width
else