Skip to content

Commit a31a84f

Browse files
dam9000hchienjo
authored andcommitted
Change mini.statusline location format to LINE:COLUMN (nvim-lua#659)
Default mini.statusline location format is: 'cursor line | total lines │ cursor column | total columns'
1 parent 99ce05a commit a31a84f

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
@@ -760,6 +760,9 @@ require('lazy').setup {
760760
-- You could remove this setup call if you don't like it,
761761
-- and try some other statusline plugin
762762
require('mini.statusline').setup()
763+
MiniStatusline.section_location = function()
764+
return '%2l:%-2v'
765+
end
763766

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

0 commit comments

Comments
 (0)