Change statusline location to LINE:COLUMN (#689)
This commit is contained in:
parent
c9122e89e3
commit
c3127f1226
1 changed files with 3 additions and 3 deletions
6
init.lua
6
init.lua
|
@ -761,11 +761,11 @@ require('lazy').setup {
|
||||||
statusline.setup()
|
statusline.setup()
|
||||||
|
|
||||||
-- You can configure sections in the statusline by overriding their
|
-- You can configure sections in the statusline by overriding their
|
||||||
-- default behavior. For example, here we disable the section for
|
-- default behavior. For example, here we set the section for
|
||||||
-- cursor information because line numbers are already enabled
|
-- cursor location to LINE:COLUMN
|
||||||
---@diagnostic disable-next-line: duplicate-set-field
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
statusline.section_location = function()
|
statusline.section_location = function()
|
||||||
return ''
|
return '%2l:%-2v'
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ... and there is more!
|
-- ... and there is more!
|
||||||
|
|
Loading…
Reference in a new issue