enhance: use virtual column(%v) for location and line no (%p) for progress
closes #90
This commit is contained in:
parent
cd08f74bb7
commit
9433dbb762
|
@ -1,7 +1,7 @@
|
|||
-- Copyright (c) 2020-2021 hoob3rt
|
||||
-- MIT license, see LICENSE for more details.
|
||||
local function location()
|
||||
return [[%3l:%-2c]]
|
||||
return '%3l:%-2v'
|
||||
end
|
||||
|
||||
return location
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- Copyright (c) 2020-2021 hoob3rt
|
||||
-- MIT license, see LICENSE for more details.
|
||||
local function progress()
|
||||
return [[%3P]]
|
||||
return '%3p%%'
|
||||
end
|
||||
|
||||
return progress
|
||||
|
|
Loading…
Reference in New Issue