enhance: use virtual column(%v) for location and line no (%p) for progress

closes #90
This commit is contained in:
shadmansaleh 2021-10-22 09:45:26 +06:00
parent cd08f74bb7
commit 9433dbb762
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
-- Copyright (c) 2020-2021 hoob3rt -- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details. -- MIT license, see LICENSE for more details.
local function location() local function location()
return [[%3l:%-2c]] return '%3l:%-2v'
end end
return location return location

View File

@ -1,7 +1,7 @@
-- Copyright (c) 2020-2021 hoob3rt -- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details. -- MIT license, see LICENSE for more details.
local function progress() local function progress()
return [[%3P]] return '%3p%%'
end end
return progress return progress