Skip to content

Commit 465d6f2

Browse files
authored
Change mini.statusline location format to LINE:COLUMN (#659)
Default mini.statusline location format is: 'cursor line | total lines │ cursor column | total columns'
1 parent 18b919c commit 465d6f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,9 @@ require('lazy').setup {
762762
-- You could remove this setup call if you don't like it,
763763
-- and try some other statusline plugin
764764
require('mini.statusline').setup()
765+
MiniStatusline.section_location = function()
766+
return '%2l:%-2v'
767+
end
765768

766769
-- ... and there is more!
767770
-- Check out: https://github.com/echasnovski/mini.nvim

0 commit comments

Comments
 (0)