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
|
-- 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue